com web/bugs: More spam: include/functions.php

From: Date: Thu, 10 May 2012 13:51:06 +0000
Subject: com web/bugs: More spam: include/functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13507@lists.php.net to get a copy of this message
Commit: b1008704fa64e1afe09bb06dd4ca4a9fa37fa04f Author: Rasmus Lerdorf <rasmus@php.net> Thu, 10 May 2012 06:51:06 -0700 Parents: d358b33d19d8cb07f622c66ce074c63dbe1d1089 Branches: master Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=b1008704fa64e1afe09bb06dd4ca4a9fa37fa04f Log: More spam Changed paths: M include/functions.php Diff: diff --git a/include/functions.php b/include/functions.php index 54b544b..9f3645f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -259,7 +259,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)|(colchicine)|(zovirax)|(korsbest)|(coachbags)/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)|(korsbest)|(coachbags)|(chaneljpoutlet)/i", $string)) { return true; } if (preg_match("~/Members/~", $string)) {

« previous php.webmaster (#13507) next »