Skip to content

Commit 00bcdf3

Browse files
committed
Merge pull request silverstripe#1305 from ss23/patch-8
FIX $_COOKIES is not un-magic_quotes'd (fixes silverstripe#6309)
2 parents d36f9d6 + 9ac104b commit 00bcdf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/Core.php

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
if($_REQUEST) stripslashes_recursively($_REQUEST);
117117
if($_GET) stripslashes_recursively($_GET);
118118
if($_POST) stripslashes_recursively($_POST);
119+
if($_COOKIE) stripslashes_recursively($_COOKIE);
119120
}
120121

121122
/**

0 commit comments

Comments
 (0)