diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-13 13:47:08 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-13 13:47:08 +0100 |
commit | e0c16f4cf4b6267d09644e1565ff6a69a916e8e2 (patch) | |
tree | 44fb3ce132dc73b6b033cf6380579390f9a04a19 | |
parent | 94fe0c2e5153049fc0d2cc03ce63ea2bf76c33df (diff) | |
download | rspamd-e0c16f4cf4b6267d09644e1565ff6a69a916e8e2.tar.gz rspamd-e0c16f4cf4b6267d09644e1565ff6a69a916e8e2.zip |
[Minor] Lua_magic: Do not treat xml as html
Suggested by: @citrin
-rw-r--r-- | lualib/lua_magic/heuristics.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lualib/lua_magic/heuristics.lua b/lualib/lua_magic/heuristics.lua index 929703135..d3469e2f9 100644 --- a/lualib/lua_magic/heuristics.lua +++ b/lualib/lua_magic/heuristics.lua @@ -66,7 +66,6 @@ local txt_patterns = { {[[(?i)\s*<html\b]], 30}, {[[(?i)\s*<script\b]], 20}, -- Commonly used by spammers {[[(?i)\s*<\!DOCTYPE HTML\b]], 30}, - {[[(?i)\s*<xml\b]], 20}, {[[(?i)\s*<body\b]], 20}, {[[(?i)\s*<table\b]], 20}, {[[(?i)\s*<a\b]], 10}, |