aboutsummaryrefslogtreecommitdiffstats
path: root/rules/html.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-19 12:07:03 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-19 12:07:03 +0100
commit90fb3cc2868a3ee4d5995aefb71fb6d66b450edf (patch)
treee1741d8521658640273beb6a645fef702f9f52d1 /rules/html.lua
parentbf5f32f82d65cba399c65c42b3b322294c692f6f (diff)
downloadrspamd-90fb3cc2868a3ee4d5995aefb71fb6d66b450edf.tar.gz
rspamd-90fb3cc2868a3ee4d5995aefb71fb6d66b450edf.zip
[Fix] Fix embedded images linking logic
Diffstat (limited to 'rules/html.lua')
-rw-r--r--rules/html.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/rules/html.lua b/rules/html.lua
index fb32e9179..9e582a731 100644
--- a/rules/html.lua
+++ b/rules/html.lua
@@ -101,7 +101,6 @@ rspamd_config.R_EMPTY_IMAGE = {
if p:is_html() then -- if the current part is html part
local hc = p:get_html() -- we get HTML context
local len = p:get_length() -- and part's length
-
if hc and len < 50 then -- if we have a part that has less than 50 bytes of text
local images = hc:get_images() -- then we check for HTML images