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

Ensure expired Set-Cookie not present on push as per spec #12010

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

janbartel
Copy link
Contributor

According to the tck, we need to ensure that an expired cookie that is created during the handling of a request is never present on server push. See #11931 (comment).

This PR just ensures that such a cookie will never be given to the push builder.

@janbartel janbartel added the TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc) label Jul 8, 2024
@janbartel janbartel requested a review from gregw July 8, 2024 02:06
@janbartel janbartel self-assigned this Jul 8, 2024
Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooops

Needs extra curlies, otherwise LGTM

…ee11/servlet/ServletApiRequest.java

Co-authored-by: Greg Wilkins <[email protected]>
@janbartel janbartel merged commit f5d6d8d into jetty-12.1.x Jul 10, 2024
2 of 4 checks passed
@janbartel janbartel deleted the jetty-12.1.x-serverpushbuilder-expired-cookie branch July 10, 2024 21:58
@olamy olamy mentioned this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc)
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants