On Tue, 15 Feb 2022 13:06:29 GMT, Julia Boes <jb...@openjdk.org> wrote:
> This change adds a check for URI path segments that look like a root drive on > Windows, e.g. "C:". Such path segments are not supported because a request > path should really be relative to the working directory. > > The check is implemented with a platform-specific helper class, some > additional test cases are included. > > Testing: tier 1-3, common Windows versions. This pull request has now been integrated. Changeset: 9ca435b4 Author: Julia Boes <jb...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/9ca435b4c03f9741709bbfab22fb006de8c8c9d3 Stats: 138 lines in 4 files changed: 131 ins; 0 del; 7 mod 8281305: Test com/sun/net/httpserver/simpleserver/MapToPathTest.java fails on Windows 11 Reviewed-by: dfuchs ------------- PR: https://git.openjdk.java.net/jdk/pull/7478