From: Vsevolod Stakhov Date: Sat, 20 Aug 2016 15:49:12 +0000 (+0100) Subject: [Fix] Fix url maps X-Git-Tag: 1.3.4~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1774605d5b3966f4f53072b5a07d66b803930529;p=rspamd.git [Fix] Fix url maps --- diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index d913f7619..10e727ef7 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -45,7 +45,7 @@ local value_types = { get_value = function(val) return val end, }, url = { - get_value = function(url) return url:get_tld() end, + get_value = function(val) return val end, }, dnsbl = { get_value = function(ip) return ip:to_string() end,