[Catalyst] redirecting

Jim Spath jspath at pangeamedia.com
Wed Jun 13 20:51:16 GMT 2007


$c->res->redirect($c->uri_for('/fr/thread', {thread => $id_thread}));

Octavian Rasnita wrote:
> Hi,
> 
> I have tried to make the following redirection:
> 
> $c->res->redirect($c->uri_for("/fr/thread?thread=$id_thread"));
> 
> But it replaces "?" with %3F and the request is:
> 
> http://www.anrcluj.ro/fr/thread%3Fthread=1
> 
> How can I redirect to a URL that contains a question mark?
> 
> Thank you.
> Octavian



More information about the Catalyst mailing list