-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ServerUpgradeRequest.getCookies() can throws NullPointerException #6654
Labels
Bug
For general bugs on Jetty side
Comments
EricBlanquer
changed the title
ServerUpgradeRequest can throws NullPointerException
ServerUpgradeRequest.getCookies() can throws NullPointerException
Aug 23, 2021
Not a bug in Jetty 9.4.x This exists as a bug in Jetty 10.x and Jetty 11.x |
joakime
added a commit
that referenced
this issue
Aug 23, 2021
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Opened PR #6655 |
joakime
added a commit
that referenced
this issue
Aug 23, 2021
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime
added a commit
that referenced
this issue
Aug 24, 2021
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime
added a commit
that referenced
this issue
Aug 25, 2021
…rade-npe-request-cookies Issue #6654 - Fix NPEs from bad Servlet API use
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/eclipse/jetty.project/blob/b2c420a124392b3e79a6abf263ec00f51e387409/jetty-websocket/websocket-core-server/src/main/java/org/eclipse/jetty/websocket/core/server/ServerUpgradeRequest.java#L93
Hi,
request.getCookies() can be null and this code can throws a NullPointerException
The text was updated successfully, but these errors were encountered: