aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-11 17:00:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-11 17:00:01 +0100
commit2c07393bed68704178a0f7661212253756522766 (patch)
tree6dcc9d3a569c3559074331ff90498e4c52cf8301 /lualib/lua_magic
parentb56b5fc2248f1c0ff6d57033935df97e7441f30e (diff)
downloadrspamd-2c07393bed68704178a0f7661212253756522766.tar.gz
rspamd-2c07393bed68704178a0f7661212253756522766.zip
[Minor] Remove redundant pattern
Diffstat (limited to 'lualib/lua_magic')
-rw-r--r--lualib/lua_magic/patterns.lua6
1 files changed, 0 insertions, 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
@@ -32,12 +32,6 @@ local patterns = {
heuristic = heuristics.pdf_format_heuristic
},
{
- string = [[^\012%PDF-\d]],
- position = {'<=', 1024},
- weight = 60,
- heuristic = heuristics.pdf_format_heuristic
- },
- {
string = [[^%FDF-\d]],
position = {'<=', 1024},
weight = 60,