summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-31 08:31:33 +0000
committerGitHub <noreply@github.com>2024-01-31 08:31:33 +0000
commit788f7e858cc8248ce7f5875adfee72238477871f (patch)
tree8257d058ef90c2393591edbe7ccded70579ec5c9
parentcda9610d51054004fa3c53bcb55fc525ec0c27dc (diff)
parent3a6de3ec7a588a23e4dbf889d8d071169fc505a7 (diff)
downloadvyos-1x-788f7e858cc8248ce7f5875adfee72238477871f.tar.gz
vyos-1x-788f7e858cc8248ce7f5875adfee72238477871f.zip
Merge pull request #2909 from vyos/mergify/bp/sagitta/pr-2908
reverse-proxy: T5999: Allow root for exact match in backend rule URL (backport #2908)
-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/>