提交 1444e613 编写于 作者: L Liming Jin 提交者: Christof Marti

fix: error when filling in the HTTP proxy address in IPv6 format (#77260, fixes #77259)

上级 200d66a6
......@@ -69,7 +69,7 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration)
properties: {
'http.proxy': {
type: 'string',
pattern: '^https?://([^:]*(:[^@]*)?@)?([^:]+)(:\\d+)?/?$|^$',
pattern: '^https?://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$',
markdownDescription: localize('proxy', "The proxy setting to use. If not set, will be inherited from the `http_proxy` and `https_proxy` environment variables.")
},
'http.proxyStrictSSL': {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册