Index: trunk/extensions/SpamBlacklist/SpamBlacklist_body.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | } else { |
108 | 108 | # Make regex |
109 | 109 | # It's faster using the S modifier even though it will usually only be run once |
110 | | - $this->regex = 'http://[a-z0-9_\-.]*(' . implode( '|', $lines ) . ')'; |
| 110 | + $this->regex = 'http://+[a-z0-9_\-.]*(' . implode( '|', $lines ) . ')'; |
111 | 111 | $this->regex = '/' . str_replace( '/', '\/', preg_replace('|\\\*/|', '/', $this->regex) ) . '/Si'; |
112 | 112 | } |
113 | 113 | $wgMemc->set( "spam_blacklist_regex", $this->regex, $this->expiryTime ); |