Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 76289
Status: rejected
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: feratilbeau [...] hotmail.com
Cc:
AdminCc:

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



Subject: opaque and percent character
Download (untitled) / with headers
text/plain 573b
Hello, How can I get back the opaque part of an URI that contains percent character to its original value after doing the necessary unescaping ? Here is the use case: % perl -MURI -MURI::Escape -e 'print uri_unescape(URI->new(shift)->opaque) . "\n";' 'file:a%20b' a b From the case, my suspect is $URI::uric, indeed: % perl -MURI -MURI::Escape -e '$URI::uric = quotemeta($URI::reserved) . $URI::unreserved; print uri_unescape(URI->new(shift)->opaque) . "\n";' 'file:a%20b' a%20b Thanks for your help, Apologizes if this is a dumb question -; Cheers, Jean-Damien.
 I didn't really understand what you where asking for here, and could not interpret this as a request for changing anything either.  If you want something to change please provide a minimal code sample that have undesired hahaviour and clearly state what you expects the behaviour to be.


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.