Commit 79c7d9ff authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1662367: Checking against correct antispam 'surbl' url



Was checking against multi.surbl.com but that is returning a 127.0.0.1
A record response even if url was not blacklisted.

Switched it to multi.surbl.org

behatnotneeded

Change-Id: I339e2d69d9d351fd3b27ea6e32098b2efb0ea17c
Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit b12695f1)
parent dac4903f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);