Skip to content

Commit

Permalink
fix: error when filling in the HTTP proxy address in IPv6 format
Browse files Browse the repository at this point in the history
fix: /close #77259
  • Loading branch information
jinliming2 committed Jul 12, 2019
1 parent 3456ef3 commit 0e91fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/platform/request/common/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration)
properties: {
'http.proxy': {
type: 'string',
pattern: '^https?://([^:]*(:[^@]*)?@)?([^:]+)(:\\d+)?/?$|^$',
pattern: '^https?://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$',
description: localize('proxy', "The proxy setting to use. If not set will be taken from the http_proxy and https_proxy environment variables.")
},
'http.proxyStrictSSL': {
Expand Down

0 comments on commit 0e91fc2

Please sign in to comment.