Reviewed: https://reviews.mahara.org/464 Committed: http://gitorious.org/mahara/mahara/commit/f1f45d31bf5c9ed94e6d5464a2bb017b016b6d5c Submitter: Francois Marier ([email protected]) Branch: 1.4_STABLE
commit f1f45d31bf5c9ed94e6d5464a2bb017b016b6d5c 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: Ib6eb837fe1f74c762eb8b715d72f4360fe2e6484 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: Fix Committed 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

