-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: 27
-
Component/s: core-libs
The "path prefix matching" introduced in JDK-8272758 matches a request path to a context path as follows:
if (contextPath == '/') {
return true;
}
This results in incorrect matching for request paths that are not slash-prefixed, such as:
GET foo HTTP/1.1
Previously 404 was returned by the ServerImpl.
if (contextPath == '/') {
return true;
}
This results in incorrect matching for request paths that are not slash-prefixed, such as:
GET foo HTTP/1.1
Previously 404 was returned by the ServerImpl.
- caused by
-
JDK-8272758 Improve HttpServer to avoid partial file name matches while mapping request path to context path
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/30044