From: Vsevolod Stakhov Date: Mon, 9 Sep 2019 16:21:44 +0000 (+0100) Subject: [Minor] Relax rtf magic as M$ does X-Git-Tag: 2.0~234 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2576b7dde8dd6b222136fc1ceeefbfa5586553b2;p=thirdparty%2Frspamd.git [Minor] Relax rtf magic as M$ does Mentioned by: Greg Copenhaver --- diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 1ac18c8ea0..f0759de5d4 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, } }