]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Allow content URLs in the url_redirector
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 26 Feb 2023 09:55:05 +0000 (09:55 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 26 Feb 2023 09:55:05 +0000 (09:55 +0000)
Issue: #4411

src/plugins/lua/url_redirector.lua

index 512e6a0059d425766eeba90bd18243d6b3564500..0fdc45193ca34a78cc181da7c7953bf1d3d87502 100644 (file)
@@ -324,6 +324,7 @@ local function url_redirector_handler(task)
       end
     end,
     no_cache = true,
+    need_content = true,
   })
 
   if sp_urls then