Unescape cookies
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@716 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
481e838ba2
commit
ed8df4255a
|
@ -29,7 +29,7 @@ if (isset($_SESSION["coverage"])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (get_magic_quotes_gpc()) {
|
if (get_magic_quotes_gpc()) {
|
||||||
$process = array(&$_GET, &$_POST);
|
$process = array(&$_GET, &$_POST, &$_COOKIE);
|
||||||
while (list($key, $val) = each($process)) {
|
while (list($key, $val) = each($process)) {
|
||||||
foreach ($val as $k => $v) {
|
foreach ($val as $k => $v) {
|
||||||
unset($process[$key][$k]);
|
unset($process[$key][$k]);
|
||||||
|
|
Loading…
Reference in a new issue