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

Issue #153: Add support for SameSite cookie flag #154

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

alexekorn
Copy link
Contributor

This is for Issue #153, which I created.

Add support for SameSite cookie flag in PHP >= 7.3.0. I split this out as a separate if statement to keep existing functionality in 7.2.x as similar as possible. When dropping support for 7.2.x, the idea would be to turn the method into just what's in side the version-comparing if.

This is my first time contributing here. I attempted to match code style and ensured all of the tests passed on my machine, but please let me know if there's anything that I can change to match your guidelines. I'm also happy to discuss and change the implementation details.

Add support for SameSite cookie flag in PHP >= 7.3.0. I split this out as a separate if statement to keep existing functionality in 7.2.x as similar as possible. When dropping support for 7.2.x, the idea would be to turn the method into just what's in side the version-comparing `if`.
@paragonie-security paragonie-security merged commit 4c3beb1 into paragonie:master Dec 3, 2020
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