cvs: php-bugs-web /include functions.inc
| From: | Rasmus Lerdorf | Date: | Mon, 20 Mar 2006 05:30:04 +0000 |
| Subject: | cvs: php-bugs-web /include functions.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-30963@lists.php.net to get a copy of this message | ||
rasmus Mon Mar 20 05:30:04 2006 UTC
Modified files:
/php-bugs-web/include functions.inc
Log:
Get rid of the latest bug spammer
http://cvs.php.net/viewcvs.cgi/php-bugs-web/include/functions.inc?r1=1.184&r2=1.185&diff_format=u
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.184 php-bugs-web/include/functions.inc:1.185
--- php-bugs-web/include/functions.inc:1.184 Thu Mar 9 14:38:43 2006
+++ php-bugs-web/include/functions.inc Mon Mar 20 05:30:04 2006
@@ -19,7 +19,7 @@
if (substr_count(strtolower($string), 'http://') > 5) {
return true;
}
- if (preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)/i", $string)) {
+ if (preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)|(11nong)/i", $string)) {
return true;
}
return false;