[TYPO3-dam] Improving file type indexing with mime_content_type()
Steffen Müller
steffen at mail.kommwiss.fu-berlin.de
Sat Oct 8 00:18:14 CEST 2005
Hi.
At the moment, DAM uses the filename extension to guess the media type
of a file. E.g. document.pdf will be categorized as text/pdf. So far so
good.
In my eyes it's more clean to check the MIME type of the file with
mime_content_type()
Using that, even if I rename document.pdf to document.gif it will still
be indicated as text/pdf.
What do you think? Should I open a feature request in the bugtracker?
--
cheers,
Steffen
More information about the TYPO3-project-dam
mailing list