Comment 3 for bug 1193158

Revision history for this message
awillson (awillson) wrote : Re: [Bug 1193158] Re: Missing mime types

All versions of Mahara to date are missing these mime types in the
filetypes.xml definition file.

The problem of docx, pptx, xlsx files relates to other bugs noted in
other areas. The basic browser issue is with IE8. While IE8 is not new
and will be replaced with other browsers in the future, it is very
widespread currently. Also, if there is a mime definition of doc and
ppt already present, there shouldn't much burden in adding the few lines
to define internally docx, pptx, xlsx as well.

The mime problem is mostly on the upload side. When a user on IE8
uploads a docx file, Mahara [all versions], store it as a zip file along
with its constituent xml components. This is a serious issue for many
using older Microsoft client computers configured with IE8. Also, since
the file was uploaded as a zip file, the downloaded mime type is now
wired as a zip file via the incorrect storage. So, if I download the
file on another system via any browser [tested with FF, Chrome] the mime
defaults to zip...

I traced the problem of Mahara storage to filetypes.xml --- it's
probably much better to define these very common mime types internally
so as to ensure compatibility and interoperability with browsers that
may be finicky but also much used...

Please note: The latest stable code does not contain fixed mime types.

-----Original Message-----
From: Kristina Hoeppner <email address hidden>
To: andrew.willson@1024bits.com
Subject: [Bug 1193158] Re: Missing mime types
Date: Thu, 20 Jun 2013 23:55:39 -0000

And also the browser and its version?

Mahara relies a lot on browser and web server identification of the
mimetypes of files. Thus, this issue seems to have been fixed in later
versions of these.