aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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