From: Vsevolod Stakhov Date: Sun, 2 Jul 2023 16:33:28 +0000 (+0100) Subject: [Minor] Lua_magic: Try to reduce fp rate for html heuristic X-Git-Tag: 3.6~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42873dc11090b0ce0c6f49333a73123fa5de05cb;p=thirdparty%2Frspamd.git [Minor] Lua_magic: Try to reduce fp rate for html heuristic --- diff --git a/lualib/lua_magic/heuristics.lua b/lualib/lua_magic/heuristics.lua index ea8f08e081..98cfb0eee9 100644 --- a/lualib/lua_magic/heuristics.lua +++ b/lualib/lua_magic/heuristics.lua @@ -63,13 +63,13 @@ local zip_patterns = { local txt_trie local txt_patterns = { html = { - {[[(?i)]]=], 32}, {[[(?i)]], 31}, -- Another spammy pattern {[[(?i)<\!DOCTYPE HTML\b]], 33}, {[[(?i)