From 0b270ee8b4fc5f3f2133617b9b351b73188f6616 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 5 May 2020 15:50:23 +0100 Subject: [PATCH] [Minor] Rbl: Add `content_urls` attribute --- src/plugins/lua/rbl.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 73bddfdc9..5e05bf1d4 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -509,6 +509,7 @@ local function gen_rbl_callback(rule) ignore_ip = rule.no_ip, need_images = rule.images, need_emails = false, + need_content = rule.content_urls or false, esld_limit = esld_lim, no_cache = true, } @@ -1155,6 +1156,7 @@ local rule_schema_tbl = { process_script = ts.string:is_optional(), emails_delimiter = ts.string:is_optional(), ignore_defaults = ts.boolean:is_optional(), + content_urls = ts.boolean:is_optional(), disable_monitoring = ts.boolean:is_optional(), symbols_prefixes = ts.map_of(ts.string, ts.string):is_optional(), } -- 2.39.5