Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(regression): Make the Downloader honour the proxy.nonproxyhosts ODC Setting #7077

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

aikebah
Copy link
Collaborator

@aikebah aikebah commented Oct 23, 2024

Fixes Issue #7202

Description of Change

As an extension to the fix for the Maven case covered by #7074 ensure that when the Downloader configures the proxy from the "legacy" ODC Settings properties the proxy.nonproxyhosts is still honoured.

Have test cases been added to cover the new functionality?

no, used manual testing with the CLI, a custom properties file and a local dockerized squid proxy to verify that the proxy-route was only taken for Downloader actions targeting hosts that don't match the proxy.nonproxyhosts settings

…legacy configuration for non-proxy hosts when configuring the proxy from the legacy ODC Settings
@boring-cyborg boring-cyborg bot added the utils changes to utils label Oct 23, 2024
@aikebah aikebah requested a review from jeremylong October 23, 2024 13:45
@aikebah aikebah added this to the 11.0.1 milestone Oct 23, 2024
Copy link
Owner

@jeremylong jeremylong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeremylong jeremylong merged commit 116a63f into main Oct 26, 2024
9 checks passed
@jeremylong jeremylong deleted the scratch/nonProxyHostsLegacy branch October 26, 2024 11:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
utils changes to utils
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants