From 2fa0e126c74e8702ef16759d92c1c05d28337195 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 25 Mar 2022 20:16:35 +0000 Subject: [Minor] Update my email and the copyright year --- lualib/lua_scanners/icap.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lualib/lua_scanners/icap.lua') diff --git a/lualib/lua_scanners/icap.lua b/lualib/lua_scanners/icap.lua index 8fb4bff44..1d783e834 100644 --- a/lualib/lua_scanners/icap.lua +++ b/lualib/lua_scanners/icap.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov +Copyright (c) 2022, Vsevolod Stakhov Copyright (c) 2019, Carsten Rosenberg Licensed under the Apache License, Version 2.0 (the "License"); @@ -482,7 +482,7 @@ local function icap_check(task, content, digest, rule, maybe_part) elseif headers.http and string.find(headers.http, '^HTTP%/[12]%.. [4]%d%d') then threat_table_add( string.format("pseudo-virus (blocked): %s", string.gsub(headers.http, 'HTTP%/[12]%.. ', '')), false) - elseif rule.use_http_3xx_as_threat and headers.http and string.find(headers.http, '^HTTP%/[12]%.. [3]%d%d') + elseif rule.use_http_3xx_as_threat and headers.http and string.find(headers.http, '^HTTP%/[12]%.. [3]%d%d') then threat_table_add( -- cgit v1.2.3