From 2ec4818d2188055ed41aef37b084183f03ba2cb0 Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Mon, 5 Nov 2018 17:52:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=8F=E6=84=9F=E8=AF=8D=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common.php b/application/common.php index bdec6d55..5dbc159f 100644 --- a/application/common.php +++ b/application/common.php @@ -24,7 +24,7 @@ function sensitive_words_filter($str) $words = file($file); foreach($words as $word) { - $word = str_replace(array("\r\n","\r","\n"," "), '', $word); + $word = str_replace(array("\r\n","\r","\n","/","<",">","="," "), '', $word); if (!$word) continue; $ret = preg_match("/$word/", $str, $match);