aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>2018-10-24 22:25:10 +0200
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>2018-10-24 22:25:10 +0200
commita0052878c31c76df5225d9c8d08d6352294fac7a (patch)
tree255a794076df3494819dcdfc29cbae267dd94085
parent4bc6d10cda4828c8c194242fd70eb75ca26d361b (diff)
downloadrspamd-a0052878c31c76df5225d9c8d08d6352294fac7a.tar.gz
rspamd-a0052878c31c76df5225d9c8d08d6352294fac7a.zip
[FIX] Antivirus - virus names #2
-rw-r--r--src/plugins/lua/antivirus.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua
index 1c2660b72..a00d2cd73 100644
--- a/src/plugins/lua/antivirus.lua
+++ b/src/plugins/lua/antivirus.lua
@@ -313,7 +313,7 @@ local function check_av_cache(task, digest, rule, fn)
-- Cached
if data ~= 'OK' then
lua_util.debugm(N, task, 'got cached result for %s: %s', key, data)
- data = rspamd_str_split(data, '\x7c')
+ data = rspamd_str_split(data, '\v')
yield_result(task, rule, data)
else
lua_util.debugm(N, task, 'got cached result for %s: %s', key, data)
@@ -359,7 +359,7 @@ local function save_av_cache(task, digest, rule, to_save)
end
if type(to_save) == 'table' then
- to_save = table.concat(to_save, '\x30')
+ to_save = table.concat(to_save, '\v')
end
if redis_params then