diff options
author | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2018-10-24 22:13:36 +0200 |
---|---|---|
committer | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2018-10-24 22:13:36 +0200 |
commit | 4bc6d10cda4828c8c194242fd70eb75ca26d361b (patch) | |
tree | 5ff7ef3655d68bdb90875479f42368714ae74c84 | |
parent | 3fbcbfe4605d78e27e083ce708258fda796424eb (diff) | |
download | rspamd-4bc6d10cda4828c8c194242fd70eb75ca26d361b.tar.gz rspamd-4bc6d10cda4828c8c194242fd70eb75ca26d361b.zip |
[Fix] Antivirus - virus names with 0 were recognized as tables
-rw-r--r-- | src/plugins/lua/antivirus.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index 025e36043..1c2660b72 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) |