Integrated: 8287237: (fs) Files.probeContentType returns null if filename contains hash mark on Linux
Brian Burkhalter
bpb at openjdk.java.net
Wed Jun 1 15:18:35 UTC 2022
On Thu, 26 May 2022 23:03:05 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Modify `sun.net.www.MimeTable.findByFileName(String)` to attempt to find the file extension in the entire file name if it is not found in the portion of the name preceding the optional fragment beginning with a hash (`#`).
This pull request has now been integrated.
Changeset: 8071b231
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/8071b2311caaacd714d74f12aee6cb7c2fe700fa
Stats: 79 lines in 2 files changed: 53 ins; 15 del; 11 mod
8287237: (fs) Files.probeContentType returns null if filename contains hash mark on Linux
Reviewed-by: rriggs, jpai, vtewari
-------------
PR: https://git.openjdk.java.net/jdk/pull/8909
More information about the net-dev
mailing list