diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-03-26 11:43:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 11:43:36 (GMT) |
commit | 36b1a208511532bfdc633fc823fce694ec082e59 (patch) | |
tree | 6d34e0bb33db294357506c703d4b3eb40832ccd7 /Lib/importlib/util.py | |
parent | 54514467c26c657eb1a6f8885786297979689d2d (diff) | |
download | cpython-36b1a208511532bfdc633fc823fce694ec082e59.zip cpython-36b1a208511532bfdc633fc823fce694ec082e59.tar.gz cpython-36b1a208511532bfdc633fc823fce694ec082e59.tar.bz2 |
[3.12] gh-66543: Fix mimetype.guess_type() (GH-117217) (GH-117256)
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 9654daf793b534b44a831c80f43505ab9e380f1f)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Diffstat (limited to 'Lib/importlib/util.py')
0 files changed, 0 insertions, 0 deletions