Skip to content

Wrong or undocumented proxy exclusions list #1495

Closed

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

Activity

  1. self-assigned this
    on Mar 1, 2025
  2. BoykoAlex commented on Mar 2, 2025

    @BoykoAlex
    Contributor

    This is likely to be the fix #1496... @gianpaolo-lopresti does this look as you'd expect?

  3. gianpaolo-lopresti commented on Mar 2, 2025

    @gianpaolo-lopresti
    Author

    Hi @BoykoAlex , yes it's the same. Sorry i didn't see that before.

  4. BoykoAlex commented on Mar 2, 2025

    @BoykoAlex
    Contributor

    The fix was created only now in response to this issue - thanks very much for reporting it!!!
    Since you looked at the RestTemplateFactory I just decided to run the fix by you as well in case I'm still missing something.

  5. gianpaolo-lopresti commented on Mar 2, 2025

    @gianpaolo-lopresti
    Author

    Thanks to you!

  6. added this to the 4.29.0.RELEASE milestone on Mar 2, 2025
  7. BoykoAlex commented on Mar 2, 2025

    @BoykoAlex
    Contributor

    Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions