forked from reddit-archive/reddit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only redirect OAuth authorize requests as a result of user action.
Redirecting to the client's `redirect_uri` for any error was an open redirect. Only redirecting as a result of user action ensures we're checking errors and only sending a resource owner to a new page if they've seen the authorize page and have taken some action. Thanks to /u/avlidienbrunn for reporting!
- Loading branch information
Showing
1 changed file
with
34 additions
and
32 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