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

From: Date: Tue, 08 Feb 2011 22:56:25 +0000
Subject: svn: /web/php-bugs/trunk/include/ functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10514@lists.php.net to get a copy of this message
salathe Tue, 08 Feb 2011 22:56:25 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=308152 Log: OutOfBoundsException is not spam. # Maybe we should just allow sex Changed paths: U web/php-bugs/trunk/include/functions.php Modified: web/php-bugs/trunk/include/functions.php =================================================================== --- web/php-bugs/trunk/include/functions.php 2011-02-08 21:48:15 UTC (rev 308151) +++ web/php-bugs/trunk/include/functions.php 2011-02-08 22:56:25 UTC (rev 308152) @@ -246,7 +246,7 @@ 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)|(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)/i", $string)) { return true; } if (preg_match("~/Members/~", $string)) {

« previous php.webmaster (#10514) next »