svn: /web/php-bugs/trunk/include/ functions.inc
| From: | Rasmus Lerdorf | Date: | Wed, 17 Feb 2010 06:41:00 +0000 |
| Subject: | svn: /web/php-bugs/trunk/include/ functions.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-7331@lists.php.net to get a copy of this message | ||
rasmus Wed, 17 Feb 2010 06:41:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295197
Log:
Add a few more spam keywords
Changed paths:
U web/php-bugs/trunk/include/functions.inc
Modified: web/php-bugs/trunk/include/functions.inc
===================================================================
--- web/php-bugs/trunk/include/functions.inc 2010-02-17 06:32:47 UTC (rev 295196)
+++ web/php-bugs/trunk/include/functions.inc 2010-02-17 06:41:00 UTC (rev 295197)
@@ -19,7 +19,7 @@
if (substr_count(strtolower($string), 'http://') > 5) {
return true;
}
- if (preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)|(11nong)/i", $string)) {
+ if
(preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)|(11nong)|(oxycontin)|(distance-education)/i",
$string)) {
return true;
}
return false;