Skip to content

Add support for IPv6 hostnames in addrparse#138

Merged
staktrace merged 1 commit into
masterfrom
ipv6
May 14, 2026
Merged

Add support for IPv6 hostnames in addrparse#138
staktrace merged 1 commit into
masterfrom
ipv6

Conversation

@staktrace
Copy link
Copy Markdown
Owner

Fixes #137

The colon character in IPv6 hostnames normally gets interpreted as a group delimeter, but group names cannot contain '@' characters. So if we encounter a colon and previously encountered an '@' then don't treat the colon as a group delimiter and just treat it as part of the address.

Fixes #137

The colon character in IPv6 hostnames normally gets
interpreted as a group delimeter, but group names cannot
contain '@' characters. So if we encounter a colon and
previously encountered an '@' then don't treat the colon
as a group delimiter and just treat it as part of the
address.
@staktrace staktrace merged commit 630be38 into master May 14, 2026
5 checks passed
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.

Inconsistent behavior parsing domain-literals using addrparse

1 participant