[git] web/bugs.git branch master updated. a088d2e
| From: | rasmus@php.net | Date: | Wed, 15 Feb 2012 23:09:10 +0000 |
| Subject: | [git] web/bugs.git branch master updated. a088d2e | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13065@lists.php.net to get a copy of this message | ||
The branch, master on web/bugs.git has been updated
via a088d2ebb0b033ffd2656e502eeeaaf87b3ee19e (commit)
from 15bbd610d06bac00ce8f5eee07e44f6b609211ae (commit)
http://git.php.net/?p=web/bugs.git;a=log;h=a088d2ebb0b033ffd2656e502eeeaaf87b3ee19e;hp=15bbd610d06bac00ce8f5eee07e44f6b609211ae
Summary of changes:
include/functions.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-- Log ----------------------------------------
commit a088d2ebb0b033ffd2656e502eeeaaf87b3ee19e
Author: Rasmus Lerdorf <rasmus@php.net>
Date: Wed Feb 15 15:01:34 2012 -0800
More spam drugs
diff --git a/include/functions.php b/include/functions.php
index bc994c6..9f1fc5e 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -252,7 +252,7 @@ function is_spam($string)
if (substr_count(strtolower($string), 'http://') > 5) {
return true;
}
- if
(preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)(?<!OutOfBoundsEx(?=ception))|(11nong)|(oxycontin)|(distance-education)|(sismatech)|(justiceplan)|(prednisolone)|(baclofen)|(diflucan)|(unbra.se)|(objectis)|(angosso)/i",
$string)) {
+ if
(preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)(?<!OutOfBoundsEx(?=ception))|(11nong)|(oxycontin)|(distance-education)|(sismatech)|(justiceplan)|(prednisolone)|(baclofen)|(diflucan)|(unbra.se)|(objectis)|(angosso)|(colchicine)|(zovirax)/i",
$string)) {
return true;
}
if (preg_match("~/Members/~", $string)) {
Thank you for your contribution.