From de7af067e8a62471437d97c96de2078cdbe22b0a Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 20 May 2025 13:54:06 +0100 Subject: xml: T7467: remove ^/$ wrapping from validation regexes since the validation utility adds them implicitly --- interface-definitions/include/haproxy/rule-backend.xml.i | 8 ++++---- interface-definitions/include/haproxy/rule-frontend.xml.i | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'interface-definitions/include/haproxy') diff --git a/interface-definitions/include/haproxy/rule-backend.xml.i b/interface-definitions/include/haproxy/rule-backend.xml.i index 1df9d5dcf..5faf09a96 100644 --- a/interface-definitions/include/haproxy/rule-backend.xml.i +++ b/interface-definitions/include/haproxy/rule-backend.xml.i @@ -38,7 +38,7 @@ Set URL location - ^\/[\w\-.\/]+$ + \/[\w\-.\/]+ Incorrect URL format @@ -90,7 +90,7 @@ Begin URL - ^\/[\w\-.\/]+$ + \/[\w\-.\/]+ Incorrect URL format @@ -104,7 +104,7 @@ End URL - ^\/[\w\-.\/]+$ + \/[\w\-.\/]+ Incorrect URL format @@ -118,7 +118,7 @@ Exactly URL - ^\/[\w\-.\/]*$ + \/[\w\-.\/]* Incorrect URL format diff --git a/interface-definitions/include/haproxy/rule-frontend.xml.i b/interface-definitions/include/haproxy/rule-frontend.xml.i index eabdd8632..6663f627b 100644 --- a/interface-definitions/include/haproxy/rule-frontend.xml.i +++ b/interface-definitions/include/haproxy/rule-frontend.xml.i @@ -38,7 +38,7 @@ Set URL location - ^\/[\w\-.\/]+$ + \/[\w\-.\/]+ Incorrect URL format @@ -93,7 +93,7 @@ Begin URL - ^\/[\w\-.\/]+$ + \/[\w\-.\/]+ Incorrect URL format @@ -107,7 +107,7 @@ End URL - ^\/[\w\-.\/]+$ + \/[\w\-.\/]+ Incorrect URL format @@ -121,7 +121,7 @@ Exactly URL - ^\/[\w\-.\/]+$ + \/[\w\-.\/]+ Incorrect URL format -- cgit v1.2.3