summaryrefslogtreecommitdiff
path: root/interface-definitions/service_webproxy.xml.in
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 16:59:49 +0100
commite29e5c685809d8c18b5d3560c6cbcb4edce6eb82 (patch)
tree8d3ac024af048e3f32bb17ff5d09560e908ce21c /interface-definitions/service_webproxy.xml.in
parent9af7987e851c69f87d3019f4519459239d1848c5 (diff)
downloadvyos-1x-e29e5c685809d8c18b5d3560c6cbcb4edce6eb82.tar.gz
vyos-1x-e29e5c685809d8c18b5d3560c6cbcb4edce6eb82.zip
webproxy: T563: bugfix append-domain regex
Diffstat (limited to 'interface-definitions/service_webproxy.xml.in')
-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 2fbac3df0..3acac7f9d 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>