From 8b72851f0fdc7f98f0fdb4e6a312f5752a798d67 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Tue, 13 Feb 2024 16:10:48 +0000 Subject: T5064: Firewall fix RegEx for for domain-group Improve RegEx for firewall domain-groups. This domain group looks good, but the current RegEx validation fils: ``` set firewall group domain-group a_aa ``` (cherry picked from commit b67049edab41e8714aec087b81d589fdb03a350b) --- interface-definitions/firewall.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index 662ba24ab..51c6f0e21 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -94,7 +94,7 @@ Firewall domain-group - [a-zA-Z_][a-zA-Z0-9][\w\-\.]* + [a-zA-Z_][a-zA-Z0-9]?[\w\-\.]* Name of domain-group can only contain alpha-numeric letters, hyphen, underscores and not start with numeric -- cgit v1.2.3