svn: /phpdoc/en/trunk/reference/mongo/ security.xml
| From: | Kristina Chodorow | Date: | Fri, 30 Jul 2010 14:41:28 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/ security.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6945@lists.php.net to get a copy of this message | ||
kristina Fri, 30 Jul 2010 14:41:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301720
Log:
change $in to $ne
Changed paths:
UU phpdoc/en/trunk/reference/mongo/security.xml
Modified: phpdoc/en/trunk/reference/mongo/security.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/security.xml 2010-07-30 14:35:58 UTC (rev 301719)
+++ phpdoc/en/trunk/reference/mongo/security.xml 2010-07-30 14:41:28 UTC (rev 301720)
@@ -21,7 +21,7 @@
<para>
Someone could subvert this by getting
- <emphasis>http://www.example.com?password[$in]=foo</emphasis>,
which PHP
+ <emphasis>http://www.example.com?password[$ne]=foo</emphasis>,
which PHP
will magically turn into an associative array, turning your query into
<literal>$collection->find(array("username" => array('$ne' =>
"foo")))</literal>,
which will return all users not named "foo" (all of your users, probably).
Property changes on: phpdoc/en/trunk/reference/mongo/security.xml
___________________________________________________________________
Added: svn:eol-style
+ native