On 31/08/11 04:33, McHale, Nina wrote:
Hi, all,
Sorry to spam the list with this problem yet AGAIN, but we're still
not having luck getting MediaWiki to upload and download Office
documents, specifically Word and PowerPoint documents.
We upgraded to 1.16.5 in May as part of an overall web upgrade, and
that broke what we'd had in place before. .doc, .docx, .ppt, and
.pptx were in the permitted files list, and things worked ok before
then. After the upgrade, users got a message that files were
corrupt. So, we implemented a solution that zipped
files—specifically .docx and .pptx files—prior to uploading. The
problem now is that when users download those two types of files,
they are unzipped into all of their component pieces. Less than
helpful, obviously. :)
1.17 has improved support for zip-like file formats such as MS Office
documents. They have been taken off the MIME type blacklist, since
there is no longer a security tradeoff associated with allowing them
to be uploaded. You should try upgrading.
-- Tim Starling