We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 version(s) 12.0.0.beta0 / ee10
Java version/vendor openjdk version "19.0.1" 2022-10-18
OS type/version mac os
Description One of the tests in Vaadin first requests
http://localhost:8888/web-component/themed-component.js
and then later on
http://localhost:8888/
Both of the requests use the session.
Now with Jetty 12 the response to the first request contains
Set-Cookie: JSESSIONID=node01esb8me0d0pxv1ecc7ivw1d4uh1.node0
causing Chrome to store the cookie with the path /web-component
/web-component
It is thus not passed with the second request to http://localhost:8888/.
Now one of two things can happen, depending on some external circumstances like what is cached and network loading order
If a new session cookie is set, then the following request to / includes two session cookies and Jetty directly returns "bad request"
With Jetty 11 and earlier the first request response has
Set-Cookie: JSESSIONID=node0j20fd8h8crx91052t9avzbax11.node0; Path=/
and thus no further session id cookies are set and no more sessions created
The text was updated successfully, but these errors were encountered:
@Artur- when you ran in jetty-11, did you set the session cookie config at all? Either via context init params or a cookie-config in web.xml?
cookie-config
web.xml
Sorry, something went wrong.
I don't think so
Issue #9459 empty session path in cookie
b5ba277
Issue #9459 empty session path in cookie (#9477)
f9a0181
Closed via PR #9477
janbartel
No branches or pull requests
Jetty version(s)
12.0.0.beta0 / ee10
Java version/vendor
openjdk version "19.0.1" 2022-10-18
OS type/version
mac os
Description
One of the tests in Vaadin first requests
http://localhost:8888/web-component/themed-component.js
and then later on
http://localhost:8888/
Both of the requests use the session.
Now with Jetty 12 the response to the first request contains
causing Chrome to store the cookie with the path
/web-component
It is thus not passed with the second request to http://localhost:8888/.
Now one of two things can happen, depending on some external circumstances like what is cached and network loading order
If a new session cookie is set, then the following request to / includes two session cookies and Jetty directly returns "bad request"
With Jetty 11 and earlier the first request response has
and thus no further session id cookies are set and no more sessions created
The text was updated successfully, but these errors were encountered: