From c23d728d75f769ea8223b660a0d766dcb22c3cb1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 30 Nov 2021 13:51:54 +0000 Subject: [PATCH] [Minor] Fix rule --- rules/regexp/headers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 026ca35ac..15670b4b5 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -649,7 +649,7 @@ reconf['MISSING_MIMEOLE'] = { -- Empty delimiters between header names and header values local function gen_check_header_delimiter_empty(header_name) return function(task) - for _,rh in ipairs(task:get_header_full(header_name)) do + for _,rh in ipairs(task:get_header_full(header_name) or {}) do if rh['empty_separator'] then return true end end return false -- 2.39.5