aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-31 20:19:35 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-31 20:20:12 +0100
commit0b1686f2cb92e71fbc0fcc7b8ed1097f7f5788a8 (patch)
tree0fa9f5753d062a2979a0762fe2a57b1572173cb4 /lualib/lua_scanners
parent3537be9a3796d9519247ba32985d802ca70d5100 (diff)
downloadrspamd-0b1686f2cb92e71fbc0fcc7b8ed1097f7f5788a8.tar.gz
rspamd-0b1686f2cb92e71fbc0fcc7b8ed1097f7f5788a8.zip
[Minor] Fix analysis_keyword_table concat
Obsoletes: #3384
Diffstat (limited to 'lualib/lua_scanners')
-rw-r--r--lualib/lua_scanners/oletools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/oletools.lua b/lualib/lua_scanners/oletools.lua
index 5d2bc78fd..80576fa0b 100644
--- a/lualib/lua_scanners/oletools.lua
+++ b/lualib/lua_scanners/oletools.lua
@@ -301,7 +301,7 @@ local function oletools_check(task, content, digest, rule)
elseif rule.extended == true and #analysis_keyword_table > 0 then
-- report any flags (types) and any most keywords as individual virus name
- table.insert(analysis_keyword_table, 1, table.concat(analysis_cat_table))
+ table.insert(analysis_keyword_table, 1, table.concat(lua_util.values(analysis_cat_table)))
lua_util.debugm(rule.name, task, '%s: extended threat result: %s',
rule.log_prefix, table.concat(analysis_keyword_table, ','))