Last modified: 2013-10-23 18:17:37 UTC
Created attachment 10128 [details] 97-2004 doc file Hi, We are unable to upload DOC and XLS files, created with Microsoft Office on an Apple Mac platform, when we choose 97-2004 format. Here is the debug message: MimeMagic::improveTypeFromExtension: improved mime type for .doc: application/msword MediaHandler::getHandler: no handler found for application/msword. File::getPropsFromPath: /tmp/phpPKgA0J loaded, 102400 bytes, application/msword. UploadBase::detectScript: checking for embedded scripts and HTML stuff UploadBase::detectScript: no scripts found ZipDirectoryReader: Fatal error: trailing bytes after the end of the file comment It worked with Mediawiki 1.17. It doesn't anymore since MW 1.18. Such a document is attached to this bug report.
That zip file is in a bad shape: $ unzip Tes* Archive: Test - 2007.doc warning [Test - 2007.doc]: 6064 extra bytes at beginning or within zipfile (attempting to process anyway) inflating: [Content_Types].xml inflating: _rels/.rels inflating: theme/theme/themeManager.xml inflating: theme/theme/theme1.xml inflating: theme/theme/_rels/themeManager.xml.rels $ From bug 24073, MS Word append a zip file after the doc. Might be a regression in 1.18
Yes, it's the same issue. Adding hartman to the bug as the solver of the previous one.
Hi, The issue is still here, in MW 1.19.
*** This bug has been marked as a duplicate of bug 38432 ***