Skip Menu |

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 94832
Status: new
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: hfd8723542 [...] gmail.com
Cc:
AdminCc:

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



Subject: $uri->canonical() can give different results for the same URL
Date: Thu, 17 Apr 2014 14:43:16 +0200
To: bug-URI [...] rt.cpan.org
From: Fred <hfd8723542 [...] gmail.com>
Hello, $uri->canonical() can give different results for the same URL. $ perl -MURI -E 'say $URI::VERSION' 1.60 $ perl -MURI -E '$u = URI->new("http://site.com?q=1"); say $u->canonical->as_string' http://site.com?q=1 $ perl -MURI -E '$u = URI->new("http://site.com/?q=1"); say $u->canonical->as_string' http://site.com/?q=1