Some file formats allow extracting when file is not an archive
Bug #803229 reported by
Chris Wharton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Mahara Version affected:
v1.3, 1.4a
When uploading an archive of .docx and some other file types (eg Adobe Captivate), Mahara recognises the file type incorrectly. Mahara allows unzipping of these files and breaks the files into individual components (eg XML metadata).
When downloading the uploaded file, the browser recognises the file as a zip file, but the OS recognises the file correctly as a .docx
Changed in mahara: | |
assignee: | nobody → Melissa Draper (melissa) |
Changed in mahara: | |
status: | Triaged → In Progress |
Changed in mahara: | |
assignee: | Melissa Draper (melissa) → nobody |
status: | In Progress → Confirmed |
To post a comment you must log in.
Interesting, I wonder if that's a bug in the PHP mimetype detection code...
The funny thing is that it's not entirely wrong, these files are zip files after all :)