diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-05 13:57:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-05 16:06:22 +0100 |
commit | 37b9edfcf587e3d7986f08d83c623ab7950a31f6 (patch) | |
tree | 2a5a714427158fc2e7091e88f05a694477dde0cf /rules/html.lua | |
parent | 20ead15cb2b3fa3eed9c59225f520d7fd5365bb8 (diff) | |
download | rspamd-37b9edfcf587e3d7986f08d83c623ab7950a31f6.tar.gz rspamd-37b9edfcf587e3d7986f08d83c623ab7950a31f6.zip |
[Fix] Trigger HTML_SHORT_LINK_IMG on any external image
Diffstat (limited to 'rules/html.lua')
-rw-r--r-- | rules/html.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/html.lua b/rules/html.lua index 416ea8c74..bab636322 100644 --- a/rules/html.lua +++ b/rules/html.lua @@ -39,7 +39,7 @@ local function check_html_image(task, min, max) if parent then if parent:get_type() == 'a' then -- do not trigger on small and unknown size images - if i['height'] + i['width'] >= 210 then + if i['height'] + i['width'] >= 210 or not i['embedded'] then return true end end |