From 9ac104b8c781465d6a1ec84220d9f7b6dbca18a7 Mon Sep 17 00:00:00 2001 From: Stephen Shkardoon Date: Tue, 19 Mar 2013 22:13:07 +1300 Subject: [PATCH] BUG $_COOKIES is not un-magic_quotes'd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added stripslashes_recursively to $_COOKIE (fixes #6309) --- core/Core.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Core.php b/core/Core.php index c58ae9729..bafb24023 100644 --- a/core/Core.php +++ b/core/Core.php @@ -116,6 +116,7 @@ if(!isset($_SERVER['HTTP_HOST'])) { if($_REQUEST) stripslashes_recursively($_REQUEST); if($_GET) stripslashes_recursively($_GET); if($_POST) stripslashes_recursively($_POST); + if($_COOKIE) stripslashes_recursively($_COOKIE); } /**