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 #4247 use context default for samesite cookie attribute #4512

Merged

Conversation

janbartel
Copy link
Contributor

@janbartel janbartel commented Jan 23, 2020

Implement allowing a default value for SameSite cookie attribute to be set on a context attribute. If a cookie is added to the response that has SameSite=null, then we use the context default value instead. If the context default value is null, then the cookie remains as SameSite=null.

Closes #4247

Signed-off-by: Jan Bartel <janb@webtide.com>
Signed-off-by: Jan Bartel <janb@webtide.com>
@janbartel janbartel requested a review from gregw January 29, 2020 09:00
@janbartel janbartel merged commit 9850c29 into jetty-9.4.x Jan 29, 2020
@janbartel janbartel deleted the jetty-9.4.x-4247-container-default-samesite-cookie branch January 29, 2020 10:05
janbartel added a commit that referenced this pull request Jan 29, 2020
* Issue #4247 use context default for samesite cookie attribute

Signed-off-by: Jan Bartel <janb@webtide.com>
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