-
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
getRequestURL
can append "null" if getRequestURI
is unspecified in an authority-form request-target
#8578
Comments
joakime
added
the
Sponsored
This issue affects a user with a commercial support agreement
label
Sep 9, 2022
joakime
added a commit
that referenced
this issue
Sep 9, 2022
…URI when working with CONNECT method Signed-off-by: Joakim Erdfelt <[email protected]>
Opened PR #8579 to solve for Attempting to replicate in |
joakime
added a commit
that referenced
this issue
Sep 9, 2022
Signed-off-by: Joakim Erdfelt <[email protected]>
joakime
added a commit
that referenced
this issue
Sep 9, 2022
…URI when working with CONNECT method Signed-off-by: Joakim Erdfelt <[email protected]>
This was
unlinked from
pull requests
Sep 9, 2022
Opened PR #8580 to solve for |
joakime
added a commit
that referenced
this issue
Sep 12, 2022
Signed-off-by: Joakim Erdfelt <[email protected]>
joakime
added a commit
that referenced
this issue
Sep 12, 2022
Signed-off-by: Joakim Erdfelt <[email protected]>
joakime
added a commit
that referenced
this issue
Sep 13, 2022
…ull-request-url Issue #8578 - `getRequestURL` can append "null" if `getRequestURI` is unspecified in an authority-form request-target
joakime
added a commit
that referenced
this issue
Sep 13, 2022
…null-uri Issue #8578 - `getRequestURL` can append "null" if `getRequestURI` is unspecified in an authority-form request-target
Complete. Merged from 9.4.x through to 12.0.x |
joakime
changed the title
Request.getRequestURL() can append null getRequestURI()
Sep 13, 2022
getRequestURL
can append "null" if getRequestURI
is unspecified in an authority-form request-target
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version(s)
9.4.x
10.x
Description
When upgrading to Jetty 9.4.48, we see that
AbstractProxyServlet.rewriteTarget()
callsclientRequest.getRequestURL()
which results inhttps://localhost:50393null
due togetRequestURI()
returning null (since the URI path is null). While thisRequest
behavior seems to have existed for ~10 years and is not the root issue, it still seems to be a bug.The text was updated successfully, but these errors were encountered: