summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-25 19:25:17 +0200
committerGitHub <noreply@github.com>2022-08-25 19:25:17 +0200
commitbf45a3c86afb532dbf136adda79fdfb402a7e175 (patch)
treed2a13209e63f52a759d8e1b557c8dd95d921c1ca
parenta63c8d6c4ca796dc9d8a8bc78cc7e80adbb396d0 (diff)
parentb7a8bb3981216ee29bb45ac5b9650b9ce9a16778 (diff)
downloadvyos-1x-bf45a3c86afb532dbf136adda79fdfb402a7e175.tar.gz
vyos-1x-bf45a3c86afb532dbf136adda79fdfb402a7e175.zip
Merge pull request #1494 from c-po/equuleus-proxy-t4642
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 791f41f2f..abd29ea22 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(s)?:\/\/[a-z0-9-\.]+$</regex>
</constraint>
</properties>
</leafNode>