diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-24 19:40:11 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-24 20:03:35 +0200 |
commit | 9726c2bcf07672c91d61dd9dcd48003dfc3d8354 (patch) | |
tree | 01164223ab33b704e1474067e232a221450b097a /interface-definitions/system-proxy.xml.in | |
parent | dc0e468046bef4aef3ee81eec23c3703e0b5da85 (diff) | |
download | vyos-1x-9726c2bcf07672c91d61dd9dcd48003dfc3d8354.tar.gz vyos-1x-9726c2bcf07672c91d61dd9dcd48003dfc3d8354.zip |
proxy: T4642: bugfix regex, add hyphen to allow list
(cherry picked from commit bfa13e367d0b77105ba350a34da8212859f07f59)
Diffstat (limited to 'interface-definitions/system-proxy.xml.in')
-rw-r--r-- | interface-definitions/system-proxy.xml.in | 2 |
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> |