Browse Source

Fix HTTP_TO_IP in the same way as HTTP_TO_HTTPS

tags/1.5.6
Steve Freegard 7 years ago
parent
commit
5ff5ec0a9f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      rules/html.lua

+ 1
- 0
rules/html.lua View File

@@ -312,6 +312,7 @@ rspamd_config.HTTP_TO_IP = {
for _,p in ipairs(tp) do
if p:is_html() then
local hc = p:get_html()
if (not hc) then return false end
local found = false
hc:foreach_tag('a', function (tag, length)
if (found) then return true end

Loading…
Cancel
Save