From: Carsten Rosenberg Date: Wed, 24 Oct 2018 20:25:10 +0000 (+0200) Subject: [FIX] Antivirus - virus names #2 X-Git-Tag: 1.8.2~144^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2609%2Fhead;p=thirdparty%2Frspamd.git [FIX] Antivirus - virus names #2 --- diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index 1c2660b72c..a00d2cd736 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