Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix unsafe redirect #308

Merged
merged 1 commit into from Feb 23, 2022
Merged

fix unsafe redirect #308

merged 1 commit into from Feb 23, 2022

Conversation

nitely
Copy link
Owner

@nitely nitely commented Feb 23, 2022

fix #307
open redirect can only occur on GET. However, I'm not sure if users can somehow change the POST next value in the multiple places it's used, and I'm not going to spend time auditing this. They should not, but just in case I've added the safe redirect for POST as well. Plus, this way I won't forget about safe redirect since it's everywhere

@nitely nitely merged commit 8f32f89 into master Feb 23, 2022
@nitely nitely deleted the safe_redirect branch February 23, 2022 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Security concern
1 participant