[Catalyst] Slash character in argument of request URL

Manfred Heumann heumann at strato-rz.de
Mon Apr 8 11:21:44 GMT 2013


Charlie Garrison <garrison at zeta.org.au> schrieb am 08.04.2013:

> On 8/04/13 at 12:28 PM +0200, Jaro Zajonc 
> <jaro.zajonc at gmail.com> wrote:
> 
> >I'd expect that Catalyst would create 3 arguments out of it, however
> >it will unescape last argument, and so I will have 4 arguments in
> >reality.
> 
> Are you sure Catalyst is unescaping the argument and not the web 
> server itself? We had that problem with apache, so 
> double-encoded the arg.

Of course, it's best to avoid arguments that contain slashes. But if
you really, really have to, with Apache you can do 

AllowEncodedSlashes On

and you're set.


Cheers,
Manni
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20130408/83aaf3c9/signature.pgp


More information about the Catalyst mailing list