We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea5168 commit 9890827Copy full SHA for 9890827
Changes
@@ -1,6 +1,7 @@
1
Revision history for URI
2
3
{{$NEXT}}
4
+ - Add a simple test case for an ipv6 host
5
6
1.76 2019-01-09 16:59:54Z
7
- Revert changes introduced in 1.75
t/ipv6.t
@@ -0,0 +1,14 @@
+#!perl
+
+use strict;
+use warnings;
+use URI ();
+use Test::More;
8
9
+my $url = URI->new('http://[fe80::e828:209d:20e:c0ae]:375');
10
11
+is( $url->host, 'fe80::e828:209d:20e:c0ae', 'host' );
12
+is( $url->port, 375, 'port' );
13
14
+done_testing();
0 commit comments