commit 9d178a5: [Minor] Oops, fix dwg support

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Sep 24 08:07:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-24 09:00:10 +0100
URL: https://github.com/rspamd/rspamd/commit/9d178a5c16b4db95e83cfe01510664ca59cbe720

[Minor] Oops, fix dwg support

---
 lualib/lua_magic/patterns.lua | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index 0b5e556d1..31267de31 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -373,9 +373,11 @@ local patterns = {
   },
   dwg = {
     matches = {
-      string = 'AC10[12][2-9]',
-      position = 6,
-      weight = 60,
+      {
+        string = 'AC10[12][2-9]',
+        position = 6,
+        weight = 60,
+      }
     }
   },
 }


More information about the Commits mailing list