Blame SOURCES/0150-VALIDATOR-prevent-duplicite-report-from-subdomain-se.patch

bb7cd1
From 03bfcf1746b163fa3fbce9f2741db77064ac84e7 Mon Sep 17 00:00:00 2001
bb7cd1
From: Lukas Slebodnik <lslebodn@redhat.com>
bb7cd1
Date: Wed, 31 May 2017 17:35:27 +0200
bb7cd1
Subject: [PATCH 150/152] VALIDATOR: prevent duplicite report from subdomain
bb7cd1
 sections
bb7cd1
MIME-Version: 1.0
bb7cd1
Content-Type: text/plain; charset=UTF-8
bb7cd1
Content-Transfer-Encoding: 8bit
bb7cd1
bb7cd1
Issues is subdomain sections e.g. "[domain/A.test/B.A.test]" were
bb7cd1
reported twice.
bb7cd1
bb7cd1
[rule/allowed_domain_options]: Attribute 'debug_leTYPOvel' is not allowed in section 'domain/A.test/B.A.test'. Check for typos.
bb7cd1
[rule/allowed_subdomain_options]: Attribute 'debug_leTYPOvel' is not allowed in section 'domain/A.test/B.A.test'. Check for typos.
bb7cd1
bb7cd1
Reviewed-by: Michal Židek <mzidek@redhat.com>
bb7cd1
---
bb7cd1
 src/config/cfg_rules.ini | 2 +-
bb7cd1
 1 file changed, 1 insertion(+), 1 deletion(-)
bb7cd1
bb7cd1
diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini
bb7cd1
index 744446478e5d5489cd86d8e15ce8e178cf5e3a91..d6506b7c3cee13f7c5400a546deb787e755abc8b 100644
bb7cd1
--- a/src/config/cfg_rules.ini
bb7cd1
+++ b/src/config/cfg_rules.ini
bb7cd1
@@ -296,7 +296,7 @@ option = responder_idle_timeout
bb7cd1
 
bb7cd1
 [rule/allowed_domain_options]
bb7cd1
 validator = ini_allowed_options
bb7cd1
-section_re = ^\(domain\|application\)/.*$
bb7cd1
+section_re = ^\(domain\|application\)/[^/]\+$
bb7cd1
 
bb7cd1
 option = debug
bb7cd1
 option = debug_level
bb7cd1
-- 
bb7cd1
2.9.4
bb7cd1