com web/bugs: another spam word: include/functions.php
| From: | Peter Cowburn | Date: | Mon, 04 Jan 2021 11:33:01 +0000 |
| Subject: | com web/bugs: another spam word: include/functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-29042@lists.php.net to get a copy of this message | ||
Commit: 997f010b1f66fe7ea1af819f051681300d18e675
Author: Peter Cowburn <salathe@php.net> Mon, 4 Jan 2021 11:33:01 +0000
Parents: 2e6915b67db5fbb3179b54abb6dae1474b6b0b88
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=997f010b1f66fe7ea1af819f051681300d18e675
Log:
another spam word
Changed paths:
M include/functions.php
Diff:
diff --git a/include/functions.php b/include/functions.php
index c61900e..29e679c 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -236,6 +236,7 @@ function is_spam($string)
'fashionretailshop01',
'amoxicillin',
'helpdeskaustralia',
+ 'porn',
];
if (preg_match('/\b('. implode('|', $keywords) . ')\b/i',
$string)) {