summaryrefslogtreecommitdiff
path: root/interface-definitions/include/haproxy/rule-backend.xml.i
diff options
context:
space:
mode:
authorcleopold73 <cleopold73@gmail.com>2024-01-30 22:02:30 -0600
committerGitHub <noreply@github.com>2024-01-30 22:02:30 -0600
commitf2c6cb62521bf13a51225462e8d39ee184645de1 (patch)
tree5b4d2b14e4e44613f5b5f5e1f66b4f02bb85e6fd /interface-definitions/include/haproxy/rule-backend.xml.i
parentee69903d9245e6be2e652a3aef97f01f31d40066 (diff)
downloadvyos-1x-f2c6cb62521bf13a51225462e8d39ee184645de1.tar.gz
vyos-1x-f2c6cb62521bf13a51225462e8d39ee184645de1.zip
reverse-proxy: T5999: Allow root for exact match in backend rule URL
Diffstat (limited to 'interface-definitions/include/haproxy/rule-backend.xml.i')
-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/>