News for hackers. Stuff that matters.
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)

http://www.php.net/manual/en/mongo.security.php

Re:What programming languages do people hate most? by cheald on Monday March 28, 2011 @01:05PM (#2379076)
Yeah, that's a problem in lots of languages/frameworks. Rack automatically parses URL parameters like that, too. The solution is to cast your parameters to a string before using them.