summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-24 19:40:11 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-24 19:56:23 +0200
commitbfa13e367d0b77105ba350a34da8212859f07f59 (patch)
tree52319e362ed5adf939e97874453d44ddc6017751
parentb7feed29627c58e969b1d07ef08fc2811142194f (diff)
downloadvyos-1x-bfa13e367d0b77105ba350a34da8212859f07f59.tar.gz
vyos-1x-bfa13e367d0b77105ba350a34da8212859f07f59.zip
proxy: T4642: bugfix regex, add hyphen to allow list
-rw-r--r--interface-definitions/system-proxy.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/system-proxy.xml.in b/interface-definitions/system-proxy.xml.in
index 1c06b347f..4cb42901b 100644
--- a/interface-definitions/system-proxy.xml.in
+++ b/interface-definitions/system-proxy.xml.in
@@ -11,7 +11,7 @@
<properties>
<help>Proxy URL</help>
<constraint>
- <regex>http:\/\/[a-z0-9\.]+</regex>
+ <regex>http:\/\/[a-z0-9-\.]+</regex>
</constraint>
</properties>
</leafNode>