diff options
-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 2e95b6298..42c1fbf24 100644 --- a/src/plugins/lua/antivirus.lua +++ b/src/plugins/lua/antivirus.lua @@ -405,7 +405,7 @@ local function sophos_check(task, rule) upstream:ok() data = tostring(data) - local vname = string.match(data, 'VIRUS (.+)') + local vname = string.match(data, 'VIRUS (%S+) ') if vname then yield_result(task, rule, vname) save_av_cache(task, rule, vname) |