diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-03-30 10:43:15 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-03-30 10:43:15 +0200 |
commit | 200bb4e47965f4a995274a24abf789d1a6c26ea1 (patch) | |
tree | e6c189f951b4392a1f2b3de6f6eb69abb12b7d9d /src | |
parent | 52297f06ddac4758972bc87376b5ef45b78de2f5 (diff) | |
download | rspamd-200bb4e47965f4a995274a24abf789d1a6c26ea1.tar.gz rspamd-200bb4e47965f4a995274a24abf789d1a6c26ea1.zip |
[Fix] URL redirector: Fix call to is_redirector
- Reported by: @dehnli
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/url_redirector.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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, |