The slashes in your redirectUrl parameter are probably getting picked up
as delimiters. try this:
login_redirect:
url: /dashboard/login/originalUri/:redirectUrl
param: { module: dashboard, action: redirectAfterLogin}
requirements: {redirectUrl: ".*"}
Lawrence Krubner wrote:
>
> In routing.yml, I tried to make up a new rule:
>
> login_redirect:
> url: /dashboard/login/originalUri/:redirectUrl
> param: { module: dashboard, action: redirectAfterLogin
>
>
> I was hoping it would match this URL:
>
> http://lawrence.sds5.com/bocahoops/web/frontend_dev.php/dashboard/login/originalUri/http://lawrence.sds5.com/bocahoops/web/frontend_dev.php/dashboard/newCoachList
>
> No go.
>
> How is it not matching? I also tried this:
>
> url: /dashboard/login/originalUri/*
>
> That is 3 literals that match, and then a match against anything. I
> would assume this rule would match against anything that has those 3
> literals in it. But no go. Why?
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---