aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-19 17:24:59 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-19 17:24:59 +0100
commit3c98e697e188bb25c26818d38e0311af0b011443 (patch)
tree3060df2bb0e2a2d6e06b94f5c7d33d0fa46c45a4 /src
parent3a3b6cef3e361f3e39bd78e3701a51d426ba8c12 (diff)
downloadrspamd-3c98e697e188bb25c26818d38e0311af0b011443.tar.gz
rspamd-3c98e697e188bb25c26818d38e0311af0b011443.zip
[Minor] Url_redirector: Set redirect_target flag
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/url_redirector.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/url_redirector.lua b/src/plugins/lua/url_redirector.lua
index 8572bb9af..8b60abb94 100644
--- a/src/plugins/lua/url_redirector.lua
+++ b/src/plugins/lua/url_redirector.lua
@@ -59,7 +59,7 @@ local settings = {
local function adjust_url(task, orig_url, redir_url)
if type(redir_url) == 'string' then
- redir_url = rspamd_url.create(task:get_mempool(), redir_url)
+ redir_url = rspamd_url.create(task:get_mempool(), redir_url, {'redirect_target'})
end
if redir_url then