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 20:03:35 +0200
commit9726c2bcf07672c91d61dd9dcd48003dfc3d8354 (patch)
tree01164223ab33b704e1474067e232a221450b097a
parentdc0e468046bef4aef3ee81eec23c3703e0b5da85 (diff)
downloadvyos-1x-9726c2bcf07672c91d61dd9dcd48003dfc3d8354.tar.gz
vyos-1x-9726c2bcf07672c91d61dd9dcd48003dfc3d8354.zip
proxy: T4642: bugfix regex, add hyphen to allow list
(cherry picked from commit bfa13e367d0b77105ba350a34da8212859f07f59)
-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 791f41f2f..4e1094530 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>