Skip to content

Commit

Permalink
Fix Socks5 Proxy Regex Checking Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mingwiki authored and chrmarti committed Jul 22, 2022
1 parent 5f21c37 commit e5e0f9a
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 @@ function registerProxyConfigurations(scope: ConfigurationScope): void {
properties: {
'http.proxy': {
type: 'string',
pattern: '^https?://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$',
pattern: '^(https?|socks5?)://([^:]*(:[^@]*)?@)?([^:]+|\\[[: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 e5e0f9a

Please sign in to comment.