diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-19 17:24:59 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-19 17:24:59 +0100 |
commit | 3c98e697e188bb25c26818d38e0311af0b011443 (patch) | |
tree | 3060df2bb0e2a2d6e06b94f5c7d33d0fa46c45a4 /src | |
parent | 3a3b6cef3e361f3e39bd78e3701a51d426ba8c12 (diff) | |
download | rspamd-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.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 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 |