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) 9.4.44.v20210927
9.4.44.v20210927
Java version/vendor Open JDK version 11.0.14.1
Open JDK version 11.0.14.1
OS type/version Both MacOS and Linux.
Description Jetty does not accept encoded URIs over HTTP/2. It returns <h1>Bad Message 400</h1><pre>reason: Ambiguous path separator</pre>
<h1>Bad Message 400</h1><pre>reason: Ambiguous path separator</pre>
How to reproduce?
h2, h2-17, http/1.1
/
%2f
Notes:
https://{host}:{port}/path%2Fsomething%2fsomethingelse
HTTP/1.1
HTTP/2
https://{host}:{port}/path/something/somethingelse
Could http compliance mode be set on http 2 connection factory or is there any workaround. Is this a known issue?
The text was updated successfully, but these errors were encountered:
Seems that Issue #7710 is related
Sorry, something went wrong.
Or you can move to Jetty 10.0.x which has HttpCompliance and UriCompliance across all Connection Factories.
Duplicate of #7710.
@joakime Thanks for the answer, it helped 😄
No branches or pull requests
Jetty version(s)
9.4.44.v20210927
Java version/vendor
Open JDK version 11.0.14.1
OS type/version
Both MacOS and Linux.
Description
Jetty does not accept encoded URIs over HTTP/2. It returns
<h1>Bad Message 400</h1><pre>reason: Ambiguous path separator</pre>
How to reproduce?
h2, h2-17, http/1.1
)./
->%2f
<h1>Bad Message 400</h1><pre>reason: Ambiguous path separator</pre>
Notes:
https://{host}:{port}/path%2Fsomething%2fsomethingelse
-> works withHTTP/1.1
, but not withHTTP/2
https://{host}:{port}/path/something/somethingelse
-> works with bothHTTP/1.1
andHTTP/2
Could http compliance mode be set on http 2 connection factory or is there any workaround. Is this a known issue?
The text was updated successfully, but these errors were encountered: