From: Vsevolod Stakhov Date: Mon, 11 May 2020 16:00:01 +0000 (+0100) Subject: [Minor] Remove redundant pattern X-Git-Tag: 2.6~436 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c07393bed68704178a0f7661212253756522766;p=thirdparty%2Frspamd.git [Minor] Remove redundant pattern --- diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 87583c9de2..f741900ce1 100644 --- a/lualib/lua_magic/patterns.lua +++ b/lualib/lua_magic/patterns.lua @@ -31,12 +31,6 @@ local patterns = { weight = 60, heuristic = heuristics.pdf_format_heuristic }, - { - string = [[^\012%PDF-\d]], - position = {'<=', 1024}, - weight = 60, - heuristic = heuristics.pdf_format_heuristic - }, { string = [[^%FDF-\d]], position = {'<=', 1024},