Skip to content

Redirect: can't add route params + backward compatibility #476

@Colmea

Description

@Colmea

Hey,
I have some issues with the new change made in the redirect feature (toURL->toRoute):

  1. It's not backward compatible and it breaks a lot of applications. Could we find a way to make this change backward compatible ?
  2. Since toRoute() method is used, you can't add route params anymore (->toRoute($route, $params) ). Shouldn't we add a $redirectParam var ?
  3. I understand your choice and the security vulnerability, but since redirect param is often a param fetch from an other variable, I think toURL is much more relevant than toRoute.
  4. Thank's for your work !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions