MantisBT: master-1.2.x 7d04c49e

Author Committer Branch Timestamp Parent
dhx dhx master-1.2.x 2009-09-04 08:50 master-1.2.x aa34cdfd
Affected Issues  0006047: Mimetype of attached files.
Changeset

Issue 0006047: Use finfo PHP functions to determine file types

The finfo class is now standard in PHP 5.3.0 and can be used to
determine the MIME type of attachments. It is best to perform this check
upon each download so that updates in PHP and the libmagic library
behind the scene will apply to all attachments - not just ones created
after the update.

mod - file_download.php Diff File