From 9ec934e8c79ea17c991522936c44f2c853b05855 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 24 May 2013 22:50:56 +0200 Subject: [PATCH] The magic quotes undo should apply to GET variables as well. --- base.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base.php b/base.php index 3f8422a..8750392 100644 --- a/base.php +++ b/base.php @@ -51,4 +51,9 @@ if(get_magic_quotes_gpc()) { $var = stripslashes($var); } + + foreach($_GET as &$var) + { + $var = stripslashes($var); + } }