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)



MIME-Version: 1.0
X-Spam-Status: No, score=-0.748 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9] autolearn=no
Content-Disposition: inline
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <20140417124316.GA7656 [...] ed.localhost>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -0.748
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 4E12524055E for <cpan-bug+URI [...] hipster.bestpractical.com>; Thu, 17 Apr 2014 08:43:25 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UwnXj+sZy+qS for <cpan-bug+URI [...] hipster.bestpractical.com>; Thu, 17 Apr 2014 08:43:24 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 5CC22240087 for <bug-URI [...] rt.cpan.org>; Thu, 17 Apr 2014 08:43:24 -0400 (EDT)
Received: (qmail 15888 invoked by alias); 17 Apr 2014 12:43:23 -0000
Received: from 178-215-255-158.static.edis.at (HELO edis.zapto.org) (158.255.215.178) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 17 Apr 2014 05:43:20 -0700
Received: by edis.zapto.org (Postfix, from userid 1000) id 79B2324006; Thu, 17 Apr 2014 14:43:16 +0200 (CEST)
Delivered-To: cpan-bug+URI [...] hipster.bestpractical.com
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: $uri->canonical() can give different results for the same URL
Return-Path: <hfd8723542 [...] gmail.com>
X-RT-Mail-Extension: uri
X-Original-To: cpan-bug+URI [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Date: Thu, 17 Apr 2014 14:43:16 +0200
X-Spam-Level:
To: bug-URI [...] rt.cpan.org
From: Fred <hfd8723542 [...] gmail.com>
X-RT-Original-Encoding: ascii
X-RT-Interface: Email
Content-Length: 328
Download (untitled) / with headers
text/plain 328b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.