diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-06 12:42:06 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-06 12:42:06 +0100 |
commit | a3b5ad3d3be5f44996d247e7b1486fcc9f8ba7e3 (patch) | |
tree | 996e39b86863fafa2d80fb0753d6469e86a0eafb /lualib/lua_scanners/vadesecure.lua | |
parent | 0f57c944b0338b51a3cb6c37b8fa84508f75f8a9 (diff) | |
download | rspamd-a3b5ad3d3be5f44996d247e7b1486fcc9f8ba7e3.tar.gz rspamd-a3b5ad3d3be5f44996d247e7b1486fcc9f8ba7e3.zip |
[Feature] Allow to save and show attachment name when inserting AV scan results
Diffstat (limited to 'lualib/lua_scanners/vadesecure.lua')
-rw-r--r-- | lualib/lua_scanners/vadesecure.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lualib/lua_scanners/vadesecure.lua b/lualib/lua_scanners/vadesecure.lua index cbad42d4f..158eedb1a 100644 --- a/lualib/lua_scanners/vadesecure.lua +++ b/lualib/lua_scanners/vadesecure.lua @@ -152,7 +152,7 @@ local function vade_config(opts) return nil end -local function vade_check(task, content, digest, rule) +local function vade_check(task, content, digest, rule, maybe_part) local function vade_check_uncached() local function vade_url(addr) local url @@ -331,7 +331,8 @@ local function vade_check(task, content, digest, rule) http.request(request_data) end - if common.condition_check_and_continue(task, content, rule, digest, vade_check_uncached) then + if common.condition_check_and_continue(task, content, rule, digest, + vade_check_uncached, maybe_part) then return else vade_check_uncached() |