aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-17 16:14:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-17 16:14:26 +0000
commitc4bc17b845c9b31633b4c745a69da46978d598b6 (patch)
tree5d051791c50620fbc4fddbe33e5179a8b582ee7a /rules
parentaf1be71be023b9c5c08fd6d32022a3e04c3baba6 (diff)
downloadrspamd-c4bc17b845c9b31633b4c745a69da46978d598b6.tar.gz
rspamd-c4bc17b845c9b31633b4c745a69da46978d598b6.zip
SUSPICIOUS_IMAGES now trigger merely for embedded images
Diffstat (limited to 'rules')
-rw-r--r--rules/html.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/html.lua b/rules/html.lua
index 2d52ebb52..cfec9d90b 100644
--- a/rules/html.lua
+++ b/rules/html.lua
@@ -83,7 +83,7 @@ rspamd_config.R_EMPTY_IMAGE = {
if images then -- if there are images
for _,i in ipairs(images) do -- then iterate over images in the part
- if i['height'] + i['width'] >= 400 then -- if we have a large image
+ if i['embedded'] and i['height'] + i['width'] >= 400 then -- if we have a large image
return true -- add symbol
end
end