mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG $_COOKIES is not un-magic_quotes'd
Added stripslashes_recursively to $_COOKIE (fixes #6309)
This commit is contained in:
parent
d36f9d6920
commit
9ac104b8c7
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user