[Catalyst] Slash character in argument of request URL

Jaro Zajonc jaro.zajonc at gmail.com
Mon Apr 8 10:28:18 GMT 2013


Hi all,

I have problem wit / char in a request uri.
I  am constructing request in following way:

http://site/arg0/arg1/arg_with%2Fslash

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.

$c->request->arguments->[0] =3D> arg0
$c->request->arguments->[1] =3D> arg1
$c->request->arguments->[2] =3D> arg_with
$c->request->arguments->[0] =3D> slash

Also Action itself will log following:
[debug] "GET" request for "arg0/arg1/arg_with/slash" from ....

Is there any way how avoid such escaping of arguments?


Many thanks,
Jaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20130408/e771a=
448/attachment.htm


More information about the Catalyst mailing list