Re:What programming languages do people hate most?
by cheald on Sunday March 27, 2011 @04:52PM
(#2375955)
re: 1), I assume you mean by passing an array with $operators into code that gets executed naively? If so, that's not just a Ruby problem; it's possible in any language, especially if you're working with a framework that automatically parses query variables and you don't typecheck/typecast before passing user data to your database.
[ Parent
| on HN ]
Re:What programming languages do people hate most?
by mike_esspe on Sunday March 27, 2011 @06:04PM
(#2376206)
Nope, PHP silently converts URL parameters into arrays (and if you don't expect this, than you can get a nasty NOSQL inject)