Commit 84e9f0ee authored by Robert Lyon's avatar Robert Lyon

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 behatnotneeded Change-Id: I339e2d69d9d351fd3b27ea6e32098b2efb0ea17c Signed-off-by: Robert Lyon's avatarRobert Lyon <> (cherry picked from commit b12695f1) (cherry picked from commit 79c7d9ff) (cherry picked from commit e9dd5d9f)
parent d6b12ca0
......@@ -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