Skip to content

Wrong or undocumented proxy exclusions list #1495

@gianpaolo-lopresti

Description

@gianpaolo-lopresti

Describe the bug
In the RestTemplateFactory class here:

https://github.com/spring-projects/sts4/blob/main/headless-services%2Fspring-boot-language-server%2Fsrc%2Fmain%2Fjava%2Forg%2Fspringframework%2Fide%2Fvscode%2Fboot%2Fapp%2FRestTemplateFactory.java

You can see that the code fetches the no proxy list from the http.proxy-exclusions vscode property: this is not the official vscode property for this, since it's instead http.noProxy (which can contains "*")

To Reproduce
Try to set the http.noProxy variable to exclude a host from proxy: the RestTemplateFactory still uses the proxy

Sample

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions