← Back to team overview

mahara-contributors team mailing list archive

[Bug 1302251] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3348
Committed: http://gitorious.org/mahara/mahara/commit/78a1ee3adf7552c32addfcb2df020857ad4f14a5
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 78a1ee3adf7552c32addfcb2df020857ad4f14a5
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Mon May 12 14:32:50 2014 +1200

Fix file artefacts that were incorrectly identified as ZIP files

Bug 1302251

Change-Id: I77fcbd9c534afa26296badca0ccb33f197eca648

-- 
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 Released

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


References