Skip Menu |

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 41153
Status: resolved
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: janus [...] errornet.de
Cc:
AdminCc:

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



Subject: Small diff to document the fact that arguments aren't uri-unescaped
Here's a little documentation patch to keep people, who aren't sure if arguments are uri-unescaped automatically, from searching if they would introduce double-unescaping by unescaping explicitely. Would have saved me a few head scratches :-) Regards, Simon
Subject: lib_Catalyst_Request_pm.diff
Index: lib/Catalyst/Request.pm =================================================================== --- lib/Catalyst/Request.pm (revision 8631) +++ lib/Catalyst/Request.pm (working copy) @@ -111,6 +111,9 @@ For example, if your action was and the URI for the request was C<http://.../foo/moose/bah>, the string C<bah> would be the first and only argument. +Arguments just get passed through and B<don't> get unescaped automatically, so +you should do that explicitely. + =head2 $req->args Shortcut for arguments.
Applied as r9210 to 5.80/trunk.