From 97d6e1e7197ee4b804a09a164c81a1a9e68e7910 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 27 Aug 2019 18:42:40 +0100 Subject: [PATCH] [Minor] Rbl: Some more whitelist fixes --- 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 f38cf6981..b03bcaf6d 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -259,6 +259,8 @@ end local function gen_rbl_callback(rule) local function is_whitelisted(task, req, req_str, whitelist, what) + if rule.ignore_whitelist then return false end + if rule.whitelist then if rule.whitelist:get_key(req) then lua_util.debugm(N, task, -- 2.39.5