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

Jetty 12.0.x ee10 convert cookie #9057

Merged
merged 9 commits into from
Dec 19, 2022

Conversation

janbartel
Copy link
Contributor

Fix a number of ee10 cookie parsing issues, and also ensure ServletContextRequest.getCookies() implements spec of returning null for no cookies rather than empty list.

Fixes these tck tests:
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.getDomainTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.getPathTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.setMaxAgeZeroTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpservletrequest/URLClient.java.getCookiesNoCookiesTest
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/cookie/URLClient.java.getDomainTest
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/cookie/URLClient.java.getPathTest
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/cookie/URLClient.java.setMaxAgeZeroTest
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/httpservletrequest/URLClient.java.getCookiesNoCookiesTest

@janbartel janbartel self-assigned this Dec 15, 2022
@joakime joakime added this to the 12.0.x milestone Dec 15, 2022
@janbartel janbartel requested a review from joakime December 16, 2022 23:31
@janbartel janbartel added the TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc) label Dec 19, 2022
@janbartel janbartel merged commit 721a4c7 into jetty-12.0.x Dec 19, 2022
@janbartel janbartel deleted the jetty-12.0.x-ee10-convert-cookie branch December 19, 2022 23:22
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants