[git] web/bugs.git branch master updated. 15bbd61

From: Date: Wed, 15 Feb 2012 22:36:34 +0000
Subject: [git] web/bugs.git branch master updated. 15bbd61
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13064@lists.php.net to get a copy of this message
The branch, master on web/bugs.git has been updated via 15bbd610d06bac00ce8f5eee07e44f6b609211ae (commit) from 69530d5691b39a906107c16eb828d7d39a8b6635 (commit) http://git.php.net/?p=web/bugs.git;a=log;h=15bbd610d06bac00ce8f5eee07e44f6b609211ae;hp=69530d5691b39a906107c16eb828d7d39a8b6635 Summary of changes: include/functions.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- Log ---------------------------------------- commit 15bbd610d06bac00ce8f5eee07e44f6b609211ae Author: Rasmus Lerdorf <rasmus@php.net> Date: Wed Feb 15 14:28:50 2012 -0800 Annoying link spammer diff --git a/include/functions.php b/include/functions.php index 41f34ca..bc994c6 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)/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)/i", $string)) { return true; } if (preg_match("~/Members/~", $string)) { Thank you for your contribution.

« previous php.webmaster (#13064) next »