https://bugzilla.wikimedia.org/show_bug.cgi?id=24073

           Summary: cannot upload ms word 2007 files
           Product: MediaWiki
           Version: 1.15.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Uploading
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Trying to upload a .doc file generated with Microsoft Word 2007 results in:
"The file is corrupt or has an incorrect extension"

The Logfile:
MimeMagic::doGuessMimeType: ZIP header present at end of /tmp/phpq31oe6
MimeMagic::detectZipType:
/^mimetype(application\/vnd\.oasis\.opendocument\.(?:chart-template|chart|formula-template|formu
la|graphics-template|graphics|image-template|image|presentation-template|presentation|spreadsheet-template|spreadsheet|tex
t-template|text-master|text-web|text))/
MimeMagic::detectZipType: unable to identify type of ZIP archive
MimeMagic::guessMimeType: final mime type of /tmp/phpq31oe6: application/zip


mime: <application/zip> extension: <doc>

UploadForm::verifyExtension: mime type application/zip mismatches file
extension doc, rejecting file

This seems to be known, as
http://www.mediawiki.org/wiki/Manual:$wgMimeDetectorCommand states "For
example, 1.15.3 may misdetect .doc-files from MS Word 2007 as ZIP files", but I
cannot find a corresponding bug.

23688, 23642, 18684 do not solve the problem.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to