commit 2c07393: [Minor] Remove redundant pattern

Vsevolod Stakhov vsevolod at highsecure.ru
Mon May 11 16:07:07 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-05-11 17:00:01 +0100
URL: https://github.com/rspamd/rspamd/commit/2c07393bed68704178a0f7661212253756522766

[Minor] Remove redundant pattern

---
 lualib/lua_magic/patterns.lua | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index 87583c9de..f741900ce 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},


More information about the Commits mailing list