summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-04 16:59:49 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-04 17:00:12 +0100
commit2f31381416adda8f86d3b66d5e83fcf2b551df3f (patch)
tree8129d47ff6cf2dbb7afff70b205119fc349627b2
parent60b913c2f8a8eb21adee322a107de5a7ea8c1744 (diff)
downloadvyos-1x-2f31381416adda8f86d3b66d5e83fcf2b551df3f.tar.gz
vyos-1x-2f31381416adda8f86d3b66d5e83fcf2b551df3f.zip
webproxy: T563: bugfix append-domain regex
(cherry picked from commit e29e5c685809d8c18b5d3560c6cbcb4edce6eb82)
-rw-r--r--interface-definitions/service_webproxy.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/service_webproxy.xml.in b/interface-definitions/service_webproxy.xml.in
index d61a95690..03f504ac7 100644
--- a/interface-definitions/service_webproxy.xml.in
+++ b/interface-definitions/service_webproxy.xml.in
@@ -16,7 +16,7 @@
<description>Domain to use for urls that do not contain a '.'</description>
</valueHelp>
<constraint>
- <regex>^[\.][a-z0-9-][$]?</regex>
+ <regex>[.][A-Za-z0-9][-.A-Za-z0-9]*</regex>
</constraint>
<constraintErrorMessage>Must start append-domain with a '.'</constraintErrorMessage>
</properties>