diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-07-31 15:53:51 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-07-31 15:53:51 +0100 |
commit | daa0c73eee23fea675fc733482248722657f6a56 (patch) | |
tree | cd1b224cede1b8766f865789261801a03ba875ee /lualib | |
parent | 8da3d333136e031cd4888dbd850eb60406cee5e7 (diff) | |
download | rspamd-daa0c73eee23fea675fc733482248722657f6a56.tar.gz rspamd-daa0c73eee23fea675fc733482248722657f6a56.zip |
[Minor] added test parsing html/phished urls
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index 86cbc9ff4..ba5843ff6 100644 --- a/lualib/lua_util.lua +++ b/lualib/lua_util.lua @@ -595,7 +595,7 @@ exports.extract_specific_urls = function(params_or_task, lim, need_emails, filte else if u:get_user() then table.insert(res, u) - elseif u:is_subject() then + elseif u:is_subject() or u:is_phished() then table.insert(res, u) end end |