From e2e06d4a238384c1c753204ab124d8c22c9378af Mon Sep 17 00:00:00 2001 From: kagla Date: Tue, 3 May 2022 12:10:02 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=EB=B6=84=EB=A5=98?= =?UTF-8?q?=EC=97=90=EC=84=9C=20'=ED=8C=85'=20=EA=B8=80=EC=9E=90=EB=A5=BC?= =?UTF-8?q?=20=EC=9D=B8=EC=8B=9D=ED=95=98=EC=A7=80=20=EB=AA=BB=ED=95=98?= =?UTF-8?q?=EC=97=AC=20=ED=8C=A8=ED=84=B4=EC=9D=84=20=EC=8C=8D=EB=94=B0?= =?UTF-8?q?=EC=98=B4=ED=91=9C=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 60000bbea..8ef590f65 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -3076,10 +3076,8 @@ function get_search_string($stx) // XSS 관련 태그 제거 function clean_xss_tags($str, $check_entities=0, $is_remove_tags=0, $cur_str_len=0) { - // space, tab('\t'), formfeed('\f'), vertical tab('\v'), newline('\n'), carriage return('\r') 를 제거한다. - // $str = preg_replace('#[[:space:]]#', '', $str); // tab('\t'), formfeed('\f'), vertical tab('\v'), newline('\n'), carriage return('\r') 를 제거한다. - $str = preg_replace('#[\t\f\v\n\r]#', '', $str); + $str = preg_replace("#[\t\f\v\n\r]#", '', $str); if( $is_remove_tags ){ $str = strip_tags($str);