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

       Web browser: ---
             Bug #: 34797
           Summary: Cannot upload 97-2004 DOC and XLS files
           Product: MediaWiki
           Version: 1.18.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Uploading
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: trois.sin...@gmail.com
                CC: bryan.tongm...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10128
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10128
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.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to