includes/functions.php
changeset 40 723bb7acf914
parent 38 ed06961e54dd
child 48 fc9762553a3c
--- a/includes/functions.php	Mon Jul 02 20:33:57 2007 -0400
+++ b/includes/functions.php	Tue Jul 03 14:07:35 2007 -0400
@@ -1154,13 +1154,15 @@
 {
   if(enano_get_magic_quotes_gpc())
   {
-    $_POST   = stripslashes_recurse($_POST);
-    $_GET    = stripslashes_recurse($_GET);
-    $_COOKIE = stripslashes_recurse($_COOKIE);
+    $_POST    = stripslashes_recurse($_POST);
+    $_GET     = stripslashes_recurse($_GET);
+    $_COOKIE  = stripslashes_recurse($_COOKIE);
+    $_REQUEST = stripslashes_recurse($_REQUEST);
   }
-  $_POST   = strip_nul_chars($_POST);
-  $_GET    = strip_nul_chars($_GET);
-  $_COOKIE = strip_nul_chars($_COOKIE);
+  $_POST    = strip_nul_chars($_POST);
+  $_GET     = strip_nul_chars($_GET);
+  $_COOKIE  = strip_nul_chars($_COOKIE);
+  $_REQUEST = strip_nul_chars($_REQUEST);
 }
 
 /**