Commit e9dd5d9f authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1662367: Checking against correct antispam 'surbl' url

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

Switched it to


Change-Id: I339e2d69d9d351fd3b27ea6e32098b2efb0ea17c
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
(cherry picked from commit b12695f1)
(cherry picked from commit 79c7d9ff)
parent 08408a7b
......@@ -43,7 +43,7 @@ class AdvancedSpamTrap extends SimpleSpamTrap {
$blacklists[] = '';
if (get_config('surbl')) {
$blacklists[] = '';
$blacklists[] = '';
// extract the hostname from the url
preg_match('#://([^\s\'"<>()\.]*\.)*([^\s\'"<>()]+\.[a-zA-Z]+)/?#', $url, $match);
Markdown is supported
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