summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Židek <mzidek@redhat.com>2017-04-04 20:06:40 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2017-05-31 16:39:22 +0200
commita6a750d981a7a9088daa823ed3894b94e156a763 (patch)
tree13e2655faceb495979bb0df8cf1e5bff4ee8dc86
parentf433e4dc4d80bef398ed8d9aac123963015bd2f0 (diff)
downloadsssd-a6a750d981a7a9088daa823ed3894b94e156a763.tar.gz
sssd-a6a750d981a7a9088daa823ed3894b94e156a763.tar.xz
sssd-a6a750d981a7a9088daa823ed3894b94e156a763.zip
VALIDATORS: Escape special regex chars
The rule allowed_domain_options did not work because of bad regex. Resolves: https://pagure.io/SSSD/sssd/issue/3356 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
-rw-r--r--src/config/cfg_rules.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini
index 6e9bf940b..10a8473b3 100644
--- a/src/config/cfg_rules.ini
+++ b/src/config/cfg_rules.ini
@@ -295,7 +295,7 @@ option = responder_idle_timeout
[rule/allowed_domain_options]
validator = ini_allowed_options
-section_re = ^(domain|application)/.*$
+section_re = ^\(domain\|application\)/.*$
option = debug
option = debug_level