-
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
request.getHttpURI().getScheme() is null on FORWARD dispatched request, causing NPE #11760
Comments
@joakime can you please clarify if this is a cross-context dispatch or a dispatch within the same context? |
@janbartel, it's a cross-context dispatch ... |
Raised #11770 |
Thank you, @janbartel, for the quick fix! I've noticed your PR covers |
The ee8 code is automatically generated from the ee9 code, so the fix will be available in ee8 too. |
Oh nice! I had forgotten about that! Thank you, @janbartel |
* Issue #11760 fix NPE getRequestURL() for cross context --------- Co-authored-by: Joakim Erdfelt <[email protected]>
Jetty version(s)
12.0.8
Jetty Environment
ee8
Java version/vendor
(use: java -version)
Any
OS type/version
Any
Description
When working with a RequestDispatcher forward request, the request.getHttpURI().getScheme() returns null.
It shouldn't return null in this use case.
The text was updated successfully, but these errors were encountered: