fix proxy regex validator

related to #9305
This commit is contained in:
Joao Moreno
2016-07-22 12:11:10 +02:00
parent c84ecd7867
commit ebc11fe9f7

View File

@@ -151,7 +151,7 @@ confRegistry.registerConfiguration({
properties: {
'http.proxy': {
type: 'string',
pattern: '^https?://[^:]+(:\\d+)?$|^$',
pattern: '^https?://([^:]*(:[^@]*)?@)?([^:]+)(:\\d+)?/?$|^$',
description: nls.localize('proxy', "The proxy setting to use. If not set will be taken from the http_proxy and https_proxy environment variables")
},
'http.proxyStrictSSL': {