]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix rspamd_text in selectors combinators
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 28 Jul 2021 11:00:05 +0000 (12:00 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 28 Jul 2021 11:00:05 +0000 (12:00 +0100)
lualib/lua_selectors/init.lua

index 1d49f4e5ddff5dc6ac3fa66c7992682e1f0faa3a..62070a1147f6f16a3f08da7769cae3e70981fdd2 100644 (file)
@@ -493,7 +493,7 @@ exports.combine_selectors = function(_, selectors, delimiter)
         rawset(tbl, i, fun.duplicate(tostring(s)))
       else
         -- Raw table
-        rawset(tbl, i, s)
+        rawset(tbl, i, fun.map(tostring, s))
       end
     end