summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-31 08:11:12 +0000
committerGitHub <noreply@github.com>2024-01-31 08:11:12 +0000
commit79e90433a1c8efa618abcf5afda9fcec337e90e2 (patch)
tree5b4d2b14e4e44613f5b5f5e1f66b4f02bb85e6fd
parentee69903d9245e6be2e652a3aef97f01f31d40066 (diff)
parentf2c6cb62521bf13a51225462e8d39ee184645de1 (diff)
downloadvyos-1x-79e90433a1c8efa618abcf5afda9fcec337e90e2.tar.gz
vyos-1x-79e90433a1c8efa618abcf5afda9fcec337e90e2.zip
Merge pull request #2908 from cleopold73/cleopold73-patch-1
reverse-proxy: T5999: Allow root for exact match in backend rule URL
-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/>