commit 7ed1a20: [Minor] Update selectors schema

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Aug 29 12:56:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-08-29 13:47:33 +0100
URL: https://github.com/rspamd/rspamd/commit/7ed1a20f98ffdc226ec4a3e1b57d4f10f81cb423

[Minor] Update selectors schema

---
 lualib/lua_selectors/extractors.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lualib/lua_selectors/extractors.lua b/lualib/lua_selectors/extractors.lua
index 1d06794a1..625af435c 100644
--- a/lualib/lua_selectors/extractors.lua
+++ b/lualib/lua_selectors/extractors.lua
@@ -293,6 +293,7 @@ e.g. `get_tld`]],
       esld_limit = (ts.number + ts.string / tonumber):is_optional(),
       prefix = ts.string:is_optional(),
       need_emails = (ts.boolean + ts.string / lua_util.toboolean):is_optional(),
+      need_images = (ts.boolean + ts.string / lua_util.toboolean):is_optional(),
       ignore_redirected = (ts.boolean + ts.string / lua_util.toboolean):is_optional(),
     }}
   },


More information about the Commits mailing list