Blame SOURCES/0148-VALIDATORS-Change-regex-for-app-domains.patch

ecf709
From b32bb7226b89777063e4cd49373ce86353abd74c Mon Sep 17 00:00:00 2001
ecf709
From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzidek@redhat.com>
ecf709
Date: Tue, 30 May 2017 13:17:45 +0200
ecf709
Subject: [PATCH 148/152] VALIDATORS: Change regex for app domains
ecf709
MIME-Version: 1.0
ecf709
Content-Type: text/plain; charset=UTF-8
ecf709
Content-Transfer-Encoding: 8bit
ecf709
ecf709
Use the same restrictions for application domains that we use for
ecf709
normal domain.
ecf709
ecf709
Resolves:
ecf709
https://pagure.io/SSSD/sssd/issue/3356
ecf709
ecf709
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
ecf709
---
ecf709
 src/config/cfg_rules.ini | 3 ++-
ecf709
 1 file changed, 2 insertions(+), 1 deletion(-)
ecf709
ecf709
diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini
ecf709
index 628f2e0e0a040bad5128d00d9348aa91170ed704..2c8c0cb98ed039c374c827775798f61369c1521e 100644
ecf709
--- a/src/config/cfg_rules.ini
ecf709
+++ b/src/config/cfg_rules.ini
ecf709
@@ -13,7 +13,8 @@ section = kcm
ecf709
 section_re = ^secrets/users/[0-9]\+$
ecf709
 section_re = ^domain/[^/\@]\+$
ecf709
 section_re = ^domain/[^/\@]\+/[^/\@]\+$
ecf709
-section_re = ^application/.*$
ecf709
+section_re = ^application/[^/\@]\+$
ecf709
+
ecf709
 
ecf709
 [rule/allowed_sssd_options]
ecf709
 validator = ini_allowed_options
ecf709
-- 
ecf709
2.9.4
ecf709