diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-25 20:16:35 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-25 20:16:35 +0000 |
commit | 2fa0e126c74e8702ef16759d92c1c05d28337195 (patch) | |
tree | 5f8550175eb1277a2c3a79863df23de913302a3f /lualib/lua_scanners/icap.lua | |
parent | c6d0f564e372dbe2497ec92fa78522dbfb30d388 (diff) | |
download | rspamd-2fa0e126c74e8702ef16759d92c1c05d28337195.tar.gz rspamd-2fa0e126c74e8702ef16759d92c1c05d28337195.zip |
[Minor] Update my email and the copyright year
Diffstat (limited to 'lualib/lua_scanners/icap.lua')
-rw-r--r-- | lualib/lua_scanners/icap.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2019, Carsten Rosenberg <c.rosenberg@heinlein-support.de> 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( |