Skip to content

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

Merged
jeremylong merged 1 commit intomainfrom
scratch/nonProxyHostsLegacy
Oct 26, 2024
Merged

fix(regression): Make the Downloader honour the proxy.nonproxyhosts ODC Setting#7077
jeremylong merged 1 commit intomainfrom
scratch/nonProxyHostsLegacy

Conversation

@aikebah
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

@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
@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