mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Allow additional socks schemes (#158669)
This commit is contained in:
@@ -138,7 +138,7 @@ function registerProxyConfigurations(scope: ConfigurationScope): void {
|
|||||||
properties: {
|
properties: {
|
||||||
'http.proxy': {
|
'http.proxy': {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
pattern: '^(https?|socks5?)://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$',
|
pattern: '^(https?|socks|socks4a?|socks5h?)://([^:]*(:[^@]*)?@)?([^:]+|\\[[: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."),
|
markdownDescription: localize('proxy', "The proxy setting to use. If not set, will be inherited from the `http_proxy` and `https_proxy` environment variables."),
|
||||||
restricted: true
|
restricted: true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user