Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: islue [...] cpan.org
Cc:
AdminCc:

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



Subject: $uri->query_param($k,$v) escapes $v different with URI::Escape::uri_escape()
Would you mind have a check? -- http://islue.blogspot.com/
Subject: escape.t
Download escape.t
text/x-perl 254b
use URI; use URI::QueryParam; use URI::Escape; my $unescape = '*!'; my $uri = new URI('http://localhost'); $uri->query_param('foo' => $unescape ); print $uri->as_string, "\n"; print 'http://localhost?foo=', URI::Escape::uri_escape( $unescape ), "\n";
Subject: escape.diff
Download escape.diff
text/x-diff 124b
50c50 < $val =~ s/([;\/?:@&=+,\$\[\]%])/ URI::Escape::escape_char($1)/eg; --- > $val = URI::Escape::uri_escape( $val );


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.