commit 497dd9e: [Minor] Allow content URLs in the url_redirector

Vsevolod Stakhov vsevolod at rspamd.com
Sun Feb 26 09:56:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-02-26 09:55:05 +0000
URL: https://github.com/rspamd/rspamd/commit/497dd9e2cc2c458c2384e123139a0932db4252d0 (HEAD -> master)

[Minor] Allow content URLs in the url_redirector
Issue: #4411

---
 src/plugins/lua/url_redirector.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/lua/url_redirector.lua b/src/plugins/lua/url_redirector.lua
index 512e6a005..0fdc45193 100644
--- a/src/plugins/lua/url_redirector.lua
+++ b/src/plugins/lua/url_redirector.lua
@@ -324,6 +324,7 @@ local function url_redirector_handler(task)
       end
     end,
     no_cache = true,
+    need_content = true,
   })
 
   if sp_urls then


More information about the Commits mailing list