2 ms·
Though it sounds like you're agreeing with me, that is not at all what I was saying.
by nkrisc 11y ago
Though it sounds like you're agreeing with me, that is not at all what I was saying.
- jondubois 11y agoYes, I was just adding to your comment. Just pointing out that there is a pattern of people blaming JS even though it's not related at all to the problem. The same vulnerability would have existed regardless of whether the code was written in Python, Go, C, Erlang, Haskell, PHP or Scala... This is a logic error - Not something that a compiler would pick up.
- DonaldFoss 11y agoThis is a massive design flaw, not a logic error. While I applaud the use of API's for modular design and communication, this is the wrong place for it.
- PeCaN 11y agoIn Haskell or Scala you could quite easily structure the code such that concatenating strings from different sources like that would be a compile error.