Skip to content

Avoid POST pages when saving URL to return to after login #28

Open

Description

@jace

We currently save the current URL when performing a login operation. However, if the current request was anything other than a GET, it can't be returned to. In such a case, we should use the previous URL, determined from the referrer (provided it's on the same domain). Sending the user back to where they came from won't replay the POST (which we want), but will at least send them back to a working URL.

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