Skip to content

Support IPv6 addresses for HTTP proxies in yum repo discovery#11518

Draft
ekohl wants to merge 1 commit into
Katello:masterfrom
ekohl:fixup-ipv6-literal
Draft

Support IPv6 addresses for HTTP proxies in yum repo discovery#11518
ekohl wants to merge 1 commit into
Katello:masterfrom
ekohl:fixup-ipv6-literal

Conversation

@ekohl

@ekohl ekohl commented Oct 7, 2025

Copy link
Copy Markdown
Member

Incomplete, but so I can share this patch.

What are the changes introduced in this pull request?

Fixes: d609612 ("Fixes #38545 - Support IPv6 addresses in HTTP proxy URLs (#11432)")

Considerations taken when implementing this change?

What are the testing steps for this pull request?

Summary by Sourcery

Enable correct handling of IPv6 addresses in HTTP proxy URLs by switching proxy_host to use URI#hostname and introducing proxy_hostname to maintain legacy behavior.

Bug Fixes:

  • proxy_host now returns URI#hostname to support IPv6 proxy URLs
  • Yum repo discovery updated to use proxy_hostname for existing host behavior

Enhancements:

  • Add proxy_hostname method for retrieving the raw host value from proxy URLs

Fixes: d609612 ("Fixes #38545 - Support IPv6 addresses in HTTP proxy URLs (Katello#11432)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant