[3.12] gh-66543: Fix mimetype.guess_type() (GH-117217) by miss-islington · Pull Request #117256 · python/cpython
Fix parsing of the following corner cases: * URLs with only a host name * URLs containing a fragment * URLs containing a query * filenames with only a UNC sharepoint on Windows (cherry picked from commit 9654daf) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters