Skip to content

net: bracket IPv6 hosts when formatting URLs - #7478

Open
astunm wants to merge 1 commit into
libgit2:mainfrom
astunm:fix/ipv6-url-format
Open

astunm wants to merge 1 commit into
libgit2:mainfrom
astunm:fix/ipv6-url-format

Conversation

@astunm

@astunm astunm commented Nov 11, 2026

Copy link
Copy Markdown

Keep IPv6 remote URLs valid when formatting them for FETCH_HEAD. Adds coverage for default and explicit ports.

Tests: the new regression fails before the fix. The full offline suite and all 18 FETCH_HEAD cases pass afterward. Utilities pass except process::env::can_clear_env, which fails identically after rebuilding unchanged upstream code.

Keep IPv6 remote URLs valid when FETCH_HEAD strips credentials.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant