From e928df8a8c634576c490cfc79ef40a59be4fe4d7 Mon Sep 17 00:00:00 2001 From: kagla Date: Thu, 24 Jun 2021 06:42:38 +0000 Subject: [PATCH] =?UTF-8?q?=ED=98=84=EC=9E=AC=20false=20=EA=B0=92=EB=A7=8C?= =?UTF-8?q?=20=EB=B0=98=ED=99=98=ED=95=98=EB=8A=94=20get=5Fmagic=5Fquotes?= =?UTF-8?q?=5Fgpc()=20=EA=B4=80=EB=A0=A8=20=EC=BD=94=EB=93=9C=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0,=20PHP7.4.0=EC=97=90=EC=84=9C=20DEPRECATED=20?= =?UTF-8?q?=EB=90=98=EC=97=88=EC=8A=B5=EB=8B=88=EB=8B=A4.=20(=EC=97=91?= =?UTF-8?q?=EC=8A=A4=EC=97=A0=EC=97=98=EB=8B=98,210624)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/common.php b/common.php index f9a6f5275..1ec4ec152 100644 --- a/common.php +++ b/common.php @@ -101,13 +101,6 @@ function sql_escape_string($str) //============================================================================== // SQL Injection 등으로 부터 보호를 위해 sql_escape_string() 적용 //------------------------------------------------------------------------------ -// magic_quotes_gpc 에 의한 backslashes 제거 -if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) { - $_POST = array_map_deep('stripslashes', $_POST); - $_GET = array_map_deep('stripslashes', $_GET); - $_COOKIE = array_map_deep('stripslashes', $_COOKIE); - $_REQUEST = array_map_deep('stripslashes', $_REQUEST); -} // sql_escape_string 적용 $_POST = array_map_deep(G5_ESCAPE_FUNCTION, $_POST);