Index: SpamBlacklist_body.php =================================================================== --- SpamBlacklist_body.php (revision 25386) +++ SpamBlacklist_body.php (working copy) @@ -308,10 +308,10 @@ function buildRegexes( $lines, $batchSize=4096 ) { # Make regex # It's faster using the S modifier even though it will usually only be run once - //$regex = 'http://+[a-z0-9_\-.]*(' . implode( '|', $lines ) . ')'; + //$regex = 'https?://+[a-z0-9_\-.]*(' . implode( '|', $lines ) . ')'; //return '/' . str_replace( '/', '\/', preg_replace('|\\\*/|', '/', $regex) ) . '/Si'; $regexes = array(); - $regexStart = '/http:\/\/+[a-z0-9_\-.]*('; + $regexStart = '/https?:\/\/+[a-z0-9_\-.]*('; $regexEnd = ($batchSize > 0 ) ? ')/Si' : ')/i'; $build = false; foreach( $lines as $line ) {