cvs: phpdoc /en/security magicquotes.xml
| From: | Jakub Vrana | Date: | Tue, 04 Apr 2006 22:12:05 +0000 |
| Subject: | cvs: phpdoc /en/security magicquotes.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969372614@lists.php.net to get a copy of this message | ||
vrana Tue Apr 4 22:12:05 2006 UTC
Modified files:
/phpdoc/en/security magicquotes.xml
Log:
Strip slashes also from $_REQUEST (bug #36972)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/security/magicquotes.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/security/magicquotes.xml
diff -u phpdoc/en/security/magicquotes.xml:1.7 phpdoc/en/security/magicquotes.xml:1.8
--- phpdoc/en/security/magicquotes.xml:1.7 Fri May 27 08:42:07 2005
+++ phpdoc/en/security/magicquotes.xml Tue Apr 4 22:12:05 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<chapter id="security.magicquotes">
<title>Magic Quotes</title>
@@ -206,6 +206,7 @@
$_POST = array_map('stripslashes_deep', $_POST);
$_GET = array_map('stripslashes_deep', $_GET);
$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
+ $_REQUEST = array_map('stripslashes_deep', $_REQUEST);
}
?>
]]>