svn: /web/php-bugs/trunk/include/ functions.inc

From: Date: Wed, 17 Feb 2010 21:45:05 +0000
Subject: svn: /web/php-bugs/trunk/include/ functions.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-7341@lists.php.net to get a copy of this message
rasmus Wed, 17 Feb 2010 21:45:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295215 Log: . 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 20:56:51 UTC (rev 295214) +++ web/php-bugs/trunk/include/functions.inc 2010-02-17 21:45:05 UTC (rev 295215) @@ -19,9 +19,12 @@ if (substr_count(strtolower($string), 'http://') > 5) { return true; } - if (preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)|(11nong)|(oxycontin)|(distance-education)|(sismatech)|(justiceplan)|(prednisolone)|(baclofen)|(diflucan)|(unbra.se)/i", $string)) { + if (preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)|(11nong)|(oxycontin)|(distance-education)|(sismatech)|(justiceplan)|(prednisolone)|(baclofen)|(diflucan)|(unbra.se)|(objectis)/i", $string)) { return true; } + if (preg_match("~/Members/~", $string)) { + return true; + } return false; }

« previous php.webmaster (#7341) next »