Commit 126b998a authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1662367: Checking against correct antispam 'surbl' url"

parents 48b5f8f5 b12695f1
......@@ -43,7 +43,7 @@ class AdvancedSpamTrap extends SimpleSpamTrap {
$blacklists[] = 'dbl.spamhaus.org';
}
if (get_config('surbl')) {
$blacklists[] = 'multi.surbl.com';
$blacklists[] = 'multi.surbl.org';
}
// extract the hostname from the url
preg_match('#://([^\s\'"<>()\.]*\.)*([^\s\'"<>()]+\.[a-zA-Z]+)/?#', $url, $match);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment