Skip Menu |

This queue is for tickets about the Catalyst CPAN distribution.

Report information
The Basics
Id: 12985
Status: resolved
Priority: 0/
Queue: Catalyst

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

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



Subject: Query string parsing error
In at least Catalyst 5.10 and 5.22 (haven't tested in others), the framework doesn't correctly parse a query string of key=value pairs seperated by semicolons. Semicolons are a perfectly valid alternative to using ampersands according to the RFC spec, and modules such as CGI and CGI::Simple all support them; Catalyst should as well.
[TSIBLEY - Sat May 28 22:54:21 2005]: Show quoted text
> In at least Catalyst 5.10 and 5.22 (haven't tested in others), the > framework doesn't correctly parse a query string of key=value pairs > seperated by semicolons. Semicolons are a perfectly valid > alternative to using ampersands according to the RFC spec, and > modules such as CGI and CGI::Simple all support them; Catalyst > should as well.
This is caused by a bug in the URI module. The bug linked below contains a one-line patch to the URI::_query module that will fix the issue. I am not sure why it hasn't been implemented in URI though. http://rt.cpan.org/NoAuth/Bug.html?id=27 The good news is this won't affect any Catalyst engine other than the HTTP::Daemon engine.