Subject: | Missing // in canonical |
When the scheme is set using the 'scheme' method, the 'canonical' method seems to skip the double slash :
Example :
my $uri = URI->new('www.google.com');
$uri->scheme('http');
print $uri->canonical, "\n";
This prints
http:www.google.com
instead of
http://www.google.com
This looks like a bug, unless I misundestood the use of 'scheme', or something else.
Many thanks.
Example :
my $uri = URI->new('www.google.com');
$uri->scheme('http');
print $uri->canonical, "\n";
This prints
http:www.google.com
instead of
http://www.google.com
This looks like a bug, unless I misundestood the use of 'scheme', or something else.
Many thanks.