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

Removed duplicate string check for index and token #39

Merged

Conversation

Kekos
Copy link
Contributor

@Kekos Kekos commented Nov 1, 2020

I found that the method AntiCSRF::validateRequest() contained duplicates of the same if. I couldn't see any reason for that so tried to remove it and it seems to work!

@Kekos Kekos force-pushed the remove-validate-double-if branch from 71f8010 to 78fae7f Compare February 22, 2022 20:16
@paragonie-security paragonie-security merged commit 78fae7f into paragonie:master May 12, 2022
@Kekos Kekos deleted the remove-validate-double-if branch July 25, 2022 11:01
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.

2 participants