Skip to content

Conversation

@arturobernalg
Copy link
Member

Update IPV4_MAPPED_IPV6_PATTERN to allow redundant leading zeros in the IPv4 portion of IPv4-mapped IPv6 addresses (e.g., ::ffff:001.002.003.004) while keeping standalone IPv4 validation strict. Includes unit tests covering valid zero-padded forms and representative invalid inputs

Relax pattern for mapped IPv4 octets (≤255); standalone IPv4 rules unchanged.
@arturobernalg arturobernalg requested a review from ok2c October 8, 2025 13:11
@arturobernalg arturobernalg merged commit b40a633 into apache:master Oct 11, 2025
10 checks passed
ok2c pushed a commit that referenced this pull request Dec 6, 2025
Relax pattern for mapped IPv4 octets (≤255); standalone IPv4 rules unchanged.
ok2c pushed a commit that referenced this pull request Dec 7, 2025
Relax pattern for mapped IPv4 octets (≤255); standalone IPv4 rules unchanged.
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.

2 participants