From: Andrew Lewis Date: Thu, 30 Mar 2017 08:43:15 +0000 (+0200) Subject: [Fix] URL redirector: Fix call to is_redirector X-Git-Tag: 1.5.5~81 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=200bb4e47965f4a995274a24abf789d1a6c26ea1;p=rspamd.git [Fix] URL redirector: Fix call to is_redirector - Reported by: @dehnli --- diff --git a/src/plugins/lua/url_redirector.lua b/src/plugins/lua/url_redirector.lua index 710dc7f1a..d75de4a25 100644 --- a/src/plugins/lua/url_redirector.lua +++ b/src/plugins/lua/url_redirector.lua @@ -79,7 +79,7 @@ local function resolve_cached(task, orig_url, url, key, param, ntries) orig_url, loc) if loc then if settings.redirectors_only then - if rspamd_plugins.surbl.is_redirector(loc) then + if rspamd_plugins.surbl.is_redirector(task, loc) then resolve_cached(task, orig_url, loc, key, param, ntries + 1) else rspamd_logger.debugm(N, task,