]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove redundant pattern
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 May 2020 16:00:01 +0000 (17:00 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 May 2020 16:00:01 +0000 (17:00 +0100)
lualib/lua_magic/patterns.lua

index 87583c9de22614715f1825200f39c5c512da706a..f741900ce1bfd4be6cab25a8ec3dfda7f0ba7bcc 100644 (file)
@@ -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},