1 2
Revert GH-15522, which introduces a regression in :meth:`mimetypes.guess_type` due to improper handling of filenames as urls.