Skip to content

Documentation of use_redirect_parameter_if_present #657

Open

Description

@rarog

The behaviour of use_redirect_parameter_if_present doesn't have enough documentation.
I had first to dig through the code to find out, that if the option is enabled, the corresponding parameter via GET should be named "redirect".
I had to further debug with trial and error until I found out, that the redirect parameter may not start with a trailing slash. Especially this should be documented in detail or function routeExists in RedirectCallback.php should do a ltrim($route, '/') to make sure, that a trailing slash is removed and the function is more tolerant.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions