Skip to content

Comments

[3.12] gh-66543: Fix mimetype.guess_type() (GH-117217)#117256

Merged
serhiy-storchaka merged 1 commit intopython:3.12from
miss-islington:backport-9654daf-3.12
Mar 26, 2024
Merged

[3.12] gh-66543: Fix mimetype.guess_type() (GH-117217)#117256
serhiy-storchaka merged 1 commit intopython:3.12from
miss-islington:backport-9654daf-3.12

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 26, 2024

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

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants