From 200bb4e47965f4a995274a24abf789d1a6c26ea1 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 30 Mar 2017 10:43:15 +0200 Subject: [PATCH] [Fix] URL redirector: Fix call to is_redirector - Reported by: @dehnli --- src/plugins/lua/url_redirector.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5