From 187b7bace4991a2549b75e29600dc4e04c9c03d4 Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Tue, 9 Apr 2024 11:02:58 +0000 Subject: T6214: T6213: change constraint in order to not allow string starting with dot character; use such constraint in firewall group definitions. (cherry picked from commit c455a1f71674300b8a74863ddfe6e551fe8fd252) --- interface-definitions/firewall.xml.in | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'interface-definitions/firewall.xml.in') diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index 3219471b1..24e63c5ec 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -56,8 +56,9 @@ Firewall address-group - [a-zA-Z0-9][\w\-\.]* + #include + Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot @@ -96,7 +97,7 @@ [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 + Name of domain-group can only contain alphanumeric letters, hyphen, underscores and not start with numeric @@ -124,8 +125,9 @@ Firewall dynamic address group - [a-zA-Z0-9][\w\-\.]* + #include + Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot #include @@ -148,8 +150,9 @@ Firewall interface-group - [a-zA-Z0-9][\w\-\.]* + #include + Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot @@ -177,8 +180,9 @@ Firewall ipv6-address-group - [a-zA-Z0-9][\w\-\.]* + #include + Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot @@ -215,8 +219,9 @@ Firewall ipv6-network-group - [a-zA-Z0-9][\w\-\.]* + #include + Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot #include @@ -248,8 +253,9 @@ Firewall mac-group - [a-zA-Z0-9][\w\-\.]* + #include + Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot #include @@ -281,8 +287,9 @@ Firewall network-group - [a-zA-Z0-9][\w\-\.]* + #include + Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot #include @@ -314,8 +321,9 @@ Firewall port-group - [a-zA-Z0-9][\w\-\.]* + #include + Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot #include -- cgit v1.2.3