Index: branches/5.2.x/core/kernel/utility/http_query.php =================================================================== --- branches/5.2.x/core/kernel/utility/http_query.php +++ branches/5.2.x/core/kernel/utility/http_query.php @@ -636,21 +636,11 @@ function StripSlashes($array) { - static $magic_quotes = null; - - if (!isset($magic_quotes)) { - $magic_quotes = get_magic_quotes_gpc(); - } - foreach ($array as $key => $value) { if (is_array($value)) { $array[$key] = $this->StripSlashes($value); } else { - if ($magic_quotes) { - $value = stripslashes($value); - } - if (!$this->Application->isAdmin) { // TODO: always escape output instead of input $value = kUtil::escape($value, kUtil::ESCAPE_HTML);