From 4bc6d10cda4828c8c194242fd70eb75ca26d361b Mon Sep 17 00:00:00 2001 From: Carsten Rosenberg Date: Wed, 24 Oct 2018 22:13:36 +0200 Subject: [PATCH] [Fix] Antivirus - virus names with 0 were recognized as tables --- src/plugins/lua/antivirus.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index 025e360432..1c2660b72c 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, '\x30') + data = rspamd_str_split(data, '\x7c') yield_result(task, rule, data) else lua_util.debugm(N, task, 'got cached result for %s: %s', key, data) -- 2.47.3