commit 0b24fc6: [Minor] Fix rspamd_text in selectors combinators

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jul 28 11:07:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-07-28 12:00:05 +0100
URL: https://github.com/rspamd/rspamd/commit/0b24fc6c10f2c4a9d5a684a67f06f3df2cd5a7f0 (HEAD -> master)

[Minor] Fix rspamd_text in selectors combinators

---
 lualib/lua_selectors/init.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_selectors/init.lua b/lualib/lua_selectors/init.lua
index 1d49f4e5d..62070a114 100644
--- a/lualib/lua_selectors/init.lua
+++ b/lualib/lua_selectors/init.lua
@@ -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
 


More information about the Commits mailing list