summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-10 10:10:07 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-10 10:10:07 +0100
commit13cc395f1a61f9cfaf62162e9f81ce895af16b4a (patch)
tree587a79cccb0d8ded7da5e818d6306f7368b6892b /interface-definitions
parentde12bf3757f25e61d40cae88f5ba10ee3a04db8f (diff)
parent27dabfab5419cbf00f3b80683f31453db8bed1f9 (diff)
downloadvyos-1x-13cc395f1a61f9cfaf62162e9f81ce895af16b4a.tar.gz
vyos-1x-13cc395f1a61f9cfaf62162e9f81ce895af16b4a.zip
Merge branch 'current' of github.com:vyos/vyos-1x into equuleus
* 'current' of github.com:vyos/vyos-1x: T1843: fix proxy URL handling when running through GCC preprocessor
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-proxy.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/system-proxy.xml.in b/interface-definitions/system-proxy.xml.in
index 4b21139a6..540fa97e3 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>
@@ -27,7 +27,7 @@
<properties>
<help>Proxy username</help>
<constraint>
- <regex>^[a-z0-9-_\.]{1,100}$</regex>
+ <regex>[a-z0-9-_\.]{1,100}$</regex>
</constraint>
</properties>
</leafNode>