Skip Menu |

This queue is for tickets about the Regexp-Common CPAN distribution.

Report information
The Basics
Id: 85087
Status: rejected
Priority: 0/
Queue: Regexp-Common

People
Owner: Nobody in particular
Requestors: MORITZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: HTTP regex does not match IPv6 addresses
Hi all, $ perl -MRegexp::Common=URI -wE 'say "http://[2001:780:101::2]/" =~ $RE{URI}{HTTP}' $ This is a perfectly fine URL, and should match. Cheers, Moritz
And rightly so. RFC 2396 explicitly says it IPv6 addresses are not supported: The host is a domain name of a network host, or its IPv4 address as a set of four decimal digit groups separated by ".". Literal IPv6 addresses are not supported.