Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redirect to the desired page after logging in a user
This prevents back button attacks in the form of resubmitting form data after the user has logged out of the browser (but not closed it). See also rt3 #15804. For non-homepage hits, the browser now also gets redirected to /NoAuth/Login.html to get a login form. We use the session to store the next page URL (referenced by a hash), similar to how action results work.
- Loading branch information
Showing
4 changed files
with
226 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.