maemo.org Bugzilla – Bug 3476
Upload of ods file fails
Last modified: 2009-09-29 17:29:07 UTC
You need to
before you can comment on or make changes to this bug.
STEPS TO REPRODUCE THE PROBLEM:
Upload a .ods file to the wiki via https://wiki.maemo.org/Special:Upload
"The file is corrupt or has an incorrect extension. Please check the file and
I've added .ods to the list of allowed file types and it shows up on the upload
Permitted file types: png, gif, jpg, jpeg, odt, odp, ods, odg, pdf.
The Oo.org docs are recognized with application/zip MIME type. The wiki engine
has a list to check MIME types and matching file extensions. Obviously .odt and
.ods are not assigned to application/zip there.
Solution: add the missing file extensions to includes/mime.types