Mon May 06 09:55:26 2013MORITZ [...] cpan.org - Ticket created
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
Sun May 29 15:52:00 2016cpan [...] abigail.be - Correspondence added
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.
Sun May 29 15:52:01 2016The RT System itself - Status changed from 'new' to 'open'
Sun May 29 15:52:06 2016cpan [...] abigail.be - Status changed from 'open' to 'rejected'