diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-09 17:21:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-09 17:21:44 +0100 |
commit | 2576b7dde8dd6b222136fc1ceeefbfa5586553b2 (patch) | |
tree | 696947dc320d82122929d78473cd3b2f6b5f853c /lualib | |
parent | 47c55ad0601294b9c737c431db617711ba908285 (diff) | |
download | rspamd-2576b7dde8dd6b222136fc1ceeefbfa5586553b2.tar.gz rspamd-2576b7dde8dd6b222136fc1ceeefbfa5586553b2.zip |
[Minor] Relax rtf magic as M$ does
Mentioned by: Greg Copenhaver
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_magic/patterns.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 1ac18c8ea..f0759de5d 100644 --- a/lualib/lua_magic/patterns.lua +++ b/lualib/lua_magic/patterns.lua @@ -55,8 +55,8 @@ local patterns = { rtf = { matches = { { - string = [[{\\rtf\d]], - position = 6, + string = [[{\\rt]], + position = 4, weight = 60, } } |