aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_selectors.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-17 15:36:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-17 15:36:41 +0100
commitc3b4921c3696fb9055cbb4f3f080aec7a4ca5984 (patch)
treef319223217463567512a159f630d48fc6e916af2 /lualib/lua_selectors.lua
parentcf76bbb67ab921f5c0b8b2a770c56a49e2707147 (diff)
downloadrspamd-c3b4921c3696fb9055cbb4f3f080aec7a4ca5984.tar.gz
rspamd-c3b4921c3696fb9055cbb4f3f080aec7a4ca5984.zip
[Minor] Allow spaces and stars as separators in selectors
Diffstat (limited to 'lualib/lua_selectors.lua')
-rw-r--r--lualib/lua_selectors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua
index 3a7a3207f..2e0e59332 100644
--- a/lualib/lua_selectors.lua
+++ b/lualib/lua_selectors.lua
@@ -657,7 +657,7 @@ local function make_grammar()
local obrace = "(" * spc
local ebrace = spc * ")"
local comma = spc * "," * spc
- local sel_separator = l.S":;"
+ local sel_separator = spc * l.S":;*" * spc
return l.P{
"LIST";