Skip Menu |

This queue is for tickets about the URI CPAN distribution.

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

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

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



Subject: URI::_query::query_form replace + with space
[quote] URI::_query::query_form(/usr/lib/perl5/site_perl/5.8/URI/_query.pm:68): 68: map { s/\+/ /g; uri_unescape($_) } [/quote] Yes, '+' is a reserved character. But, the website I am recently working at uses url like below http://example.com/?foo=+ The plus mark is just used as a normal charater. I tried but couldn't find information about the replacement. At least, how about import a configurable variable? -- http://islue.blogspot.com/
This is just how the application/x-www-form-urlencoded format is defined. See for instance <http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1>. Just use the '$u->query' method directly and split the string up yourself if you can't use the standard format.