aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic/patterns.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-24 18:42:52 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-24 18:42:52 +0100
commite4dbb877a320ad27592fb3cbfec0f45085c01012 (patch)
treed8176483e677e7aab47b52c09ee32150afd59b31 /lualib/lua_magic/patterns.lua
parent415bcce9f46adc023de100c535ac53981ce8851f (diff)
downloadrspamd-e4dbb877a320ad27592fb3cbfec0f45085c01012.tar.gz
rspamd-e4dbb877a320ad27592fb3cbfec0f45085c01012.zip
[Minor] Lua_magic: Relax jpeg pattern
Diffstat (limited to 'lualib/lua_magic/patterns.lua')
-rw-r--r--lualib/lua_magic/patterns.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index 47026478b..5444361a2 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -397,9 +397,9 @@ local patterns = {
weight = 60,
},
{
- string = [[^\x{ff}\x{d8}\x{ff}(?:[\x{e0}\x{e1}])]],
+ string = [[^\x{ff}\x{d8}\x{ff}]],
weight = 60,
- position = 4,
+ position = 3,
},
},
},