[Dancer-users] redirect path is wrong

WK wanradt at gmail.com
Tue Jun 5 22:59:09 CEST 2012

2012/6/5 Mr. Puneet Kishor <punk.kish at gmail.com>:

> However, the add-on question is that other query params didn't get "redirected" as well. I am guessing I have to "manually" add them to the redirect command just as I am adding the param('format') bit. However, since I don't know the params that might have been sent to the old URI, is there a way to send with the redirect request whatever params are in the query string?

I have two solutions:
- add requested query_string to the redirection address;
- save query_string to session and use session data from route to
where you are redirecting;

Kõike hääd,


More information about the Dancer-users mailing list