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

Support for SameSite cookies #116

Merged
merged 1 commit into from Mar 18, 2017

Conversation

Projects
None yet
2 participants
@0xTim
Member

0xTim commented Mar 17, 2017

This PR adds support for Same Site Cookies which is a security feature to help mitigate CSRF and similar attacks.

I'm also considering adding support for Cookie Prefixes if you think it will be useful? Would probably require a bit more logic to ensure that the cookies are valid if trying to set the prefixes, but nothing a few tests can't handle!

@tanner0101

This comment has been minimized.

Member

tanner0101 commented Mar 18, 2017

Great changes, thanks!

@tanner0101 tanner0101 merged commit f3e6aeb into vapor:master Mar 18, 2017

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment