Reviewed: https://reviews.mahara.org/465 Committed: http://gitorious.org/mahara/mahara/commit/c43ef45daf6669043fefb2915c1e8ec18763f220 Submitter: Hugh Davenport ([email protected]) Branch: master
commit c43ef45daf6669043fefb2915c1e8ec18763f220 Author: Francois Marier <[email protected]> Date: Tue Jul 12 22:34:41 2011 +1200 file_mime_type: increase use of hardcoded magic file (bug #809216) Mahara's mimetype detection function wasn't working properly and so it would not be able to set the right mimetype when a browser (typically IE) sets it to a generic value. The workaround in 821a693c8da162b91b0715eaee771b09d19de601 is not sufficient because symlinks, like directories, don't work but the is_file() function will resolve them and may return true. http://nz.php.net/manual/en/function.is-file.php#50742 Change-Id: Ie8485ee10e5142a5f00032116c5492b9778dae51 Signed-off-by: Francois Marier <[email protected]> -- You received this bug notification because you are a member of Mahara Core, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/809216 Title: When uploading a .flv using IE, the mimetype isn't set correctly Status in Mahara ePortfolio: In Progress Bug description: As described here: http://mahara.org/interaction/forum/topic.php?id=3840 it looks like unless users install a video player that will add a mimetype for .flv files, IE will send a generic one (application /octet-stream) to Mahara and so the file won't be recognized as a video file that can be selected by Mahara. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/809216/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-core Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-core More help : https://help.launchpad.net/ListHelp

