RFR: 8287237: (fs) Files.probeContentType returns null if filename contains hash mark on Linux [v2]
Brian Burkhalter
bpb at openjdk.java.net
Fri May 27 19:09:05 UTC 2022
> 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 (`#`).
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8287237: Refactor and clean up
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8909/files
- new: https://git.openjdk.java.net/jdk/pull/8909/files/64801e1b..eab33e80
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8909&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8909&range=00-01
Stats: 53 lines in 2 files changed: 19 ins; 12 del; 22 mod
Patch: https://git.openjdk.java.net/jdk/pull/8909.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8909/head:pull/8909
PR: https://git.openjdk.java.net/jdk/pull/8909
More information about the net-dev
mailing list