-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vulnerability fix: validate return_to param using request.host (#3627)
* Use starts_with? Add specs * Fix linter issues * Fix linter issues. Disable metric ClassLength cop on config file. * Use base_url to check return_to param * Fix linter issues * Consider redirect to paths. Fix linter issues. * Address feedback --------- Co-authored-by: Steven Chau <[email protected]>
- Loading branch information
1 parent
f06df8f
commit da48004
Showing
2 changed files
with
71 additions
and
1 deletion.
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