commit 9162a59: [Minor] Rbl: Support images urls

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Aug 29 12:56:07 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-08-29 13:49:38 +0100
URL: https://github.com/rspamd/rspamd/commit/9162a5922e714070c5e1483e7aedf3c1728e61c9 (HEAD -> master)

[Minor] Rbl: Support images urls

---
 src/plugins/lua/rbl.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 4f6bae83f..512a3ae10 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -483,9 +483,10 @@ local function gen_rbl_callback(rule)
       limit = rule.requests_limit,
       ignore_redirected = true,
       ignore_ip = rule.no_ip,
+      need_images = rule.images,
       need_emails = false,
       esld_limit = 1,
-      prefix = 'rbl_url'
+      no_cache = true,
     }
 
     local urls = lua_util.extract_specific_urls(ex_params)


More information about the Commits mailing list