diff --git a/reference/mongo/security.xml b/reference/mongo/security.xml index 8a85a769db..40877faba0 100644 --- a/reference/mongo/security.xml +++ b/reference/mongo/security.xml @@ -21,7 +21,7 @@ Someone could subvert this by getting - http://www.example.com?password[$ne]=foo, which PHP + http://www.example.com?username[$ne]=foo, which PHP will magically turn into an associative array, turning your query into $collection->find(array("username" => array('$ne' => "foo"))), which will return all users not named "foo" (all of your users, probably).