Reviewed: https://reviews.mahara.org/3248 Committed: http://gitorious.org/mahara/mahara/commit/3d90c60f764661133a8773d565b10cb0b7155d3f Submitter: Robert Lyon (robe...@catalyst.net.nz) Branch: 1.7_STABLE
commit 3d90c60f764661133a8773d565b10cb0b7155d3f Author: Robert Lyon <robe...@catalyst.net.nz> Date: Tue Apr 8 13:38:07 2014 +1200 Allowing the .zip files to be detected by file extension (Bug #1302251) A number of filetypes are being detected as a zip file, due to them having compression. To sort this out we will let the file extension be checked first then fall back to checking magic.mgc. Change-Id: Iab6ddbc17af4018cf381c4949172804acff49483 Signed-off-by: Robert Lyon <robe...@catalyst.net.nz> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1302251 Title: MS Office files being seen as zip archives Status in Mahara ePortfolio: Fix Committed Status in Mahara 1.6 series: Fix Committed Status in Mahara 1.7 series: Fix Committed Status in Mahara 1.8 series: Fix Committed Status in Mahara 1.9 series: Fix Committed Bug description: Now that we've got file_mime_type() working with the PHP fileinfo library correctly, it has caused a problem. Microsoft Office 2007+ "docx" files are recognized as zip archives by fileinfo! So when users upload a .docx file into Mahara, they see a ZIP icon, and they have the option to decompress the archive. Which they should not. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1302251/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp