Skip to content

Commit

Permalink
Allow additional socks schemes (microsoft#158669)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Jul 7, 2023
1 parent 91749da commit 4c1e4bb
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 @@ -138,7 +138,7 @@ function registerProxyConfigurations(scope: ConfigurationScope): void {
properties: {
'http.proxy': {
type: 'string',
pattern: '^(https?|socks5?):https://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$',
pattern: '^(https?|socks|socks4a?|socks5h?):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."),
restricted: true
},
Expand Down

0 comments on commit 4c1e4bb

Please sign in to comment.