[New-bugs-announce] [issue43544] mimetype default list make a wrong guess for illustrator file

Guénaël Muller report at bugs.python.org
Thu Mar 18 11:49:43 EDT 2021


New submission from Guénaël Muller <inkey at inkey-art.net>:

mimetypes lib consider illustrator file ('.ai') as 'application/postscript' type. This is correct... but also wrong.

Old illustrator file (illustrator 9) are real postscript file but modern one are technically pdf. So guessing .ai as postscript lead to wrong guessing if you're using some software that make decision based on mimetype, you can of course, check both file_extension and mimetype but this remove usefulness of mimetype.

----------
messages: 389023
nosy: Inkhey
priority: normal
severity: normal
status: open
title: mimetype default list make a wrong guess for illustrator file
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43544>
_______________________________________


More information about the New-bugs-announce mailing list