From df309444ec6195bb1292c4adbc134c8914d795cd Mon Sep 17 00:00:00 2001 From: tianya Date: Tue, 12 Apr 2022 19:30:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81=E2=80=9C,=E2=80=9D=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/system/helpers/filter.helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/helpers/filter.helper.php b/src/system/helpers/filter.helper.php index bdf170cf..23c74c82 100755 --- a/src/system/helpers/filter.helper.php +++ b/src/system/helpers/filter.helper.php @@ -53,7 +53,7 @@ if (!function_exists('HtmlReplace')) { if (!function_exists('RemoveXSS')) { function RemoveXSS($val) { - $val = preg_replace('/([\x00-\x08,\x0b-\x0c,\x0e-\x19])/', '', $val); + $val = preg_replace('/([\x00-\x08|\x0b-\x0c|\x0e-\x19])/', '', $val); $search = 'abcdefghijklmnopqrstuvwxyz'; $search .= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; $search .= '1234567890!@#$%^&*()';