This commit is contained in:
hxc 2024-04-01 16:25:08 +08:00
parent 02580fc6ab
commit 64e54ba7c6
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ if($_SERVER['HTTP_ACUNETIX_ASPECT']) exit;
if($_SERVER["HTTP_GYHFTIPFSDX"]) { if($_SERVER["HTTP_GYHFTIPFSDX"]) {
$_SERVER["REMOTE_ADDR"] = trim(addslashes(current(explode(',', $_SERVER['HTTP_GYHFTIPFSDX'])))); $_SERVER["REMOTE_ADDR"] = trim(addslashes(current(explode(',', $_SERVER['HTTP_GYHFTIPFSDX']))));
} }
if(get_magic_quotes_gpc()) { if(get_magic_quotes_gpc()) {
foreach($_POST as $key => $v) { foreach($_POST as $key => $v) {
if(is_string($v)) $_POST[$key] = stripslashes($v); if(is_string($v)) $_POST[$key] = stripslashes($v);
} }