summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorcleopold73 <cleopold73@gmail.com>2024-01-30 22:02:30 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-31 08:11:39 +0000
commit3a6de3ec7a588a23e4dbf889d8d071169fc505a7 (patch)
tree8257d058ef90c2393591edbe7ccded70579ec5c9 /interface-definitions
parentcda9610d51054004fa3c53bcb55fc525ec0c27dc (diff)
downloadvyos-1x-3a6de3ec7a588a23e4dbf889d8d071169fc505a7.tar.gz
vyos-1x-3a6de3ec7a588a23e4dbf889d8d071169fc505a7.zip
reverse-proxy: T5999: Allow root for exact match in backend rule URL
(cherry picked from commit f2c6cb62521bf13a51225462e8d39ee184645de1)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/haproxy/rule-backend.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/haproxy/rule-backend.xml.i b/interface-definitions/include/haproxy/rule-backend.xml.i
index a6832d693..b2be4fde4 100644
--- a/interface-definitions/include/haproxy/rule-backend.xml.i
+++ b/interface-definitions/include/haproxy/rule-backend.xml.i
@@ -118,7 +118,7 @@
<description>Exactly URL</description>
</valueHelp>
<constraint>
- <regex>^\/[\w\-.\/]+$</regex>
+ <regex>^\/[\w\-.\/]*$</regex>
</constraint>
<constraintErrorMessage>Incorrect URL format</constraintErrorMessage>
<multi/>