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

--- Comment #5 from Michael Gsandtner <[email protected]> 2010-06-23 
06:15:06 UTC ---
I did it exactly as you described, here the debug:

File::getPropsFromPath: Getting file info for /tmp/phplRPqef
MimeMagic::__construct: loading mime types from
/magwien/var/gondor-phpserver/html/mwiki/includes/mime.types
MimeMagic::__construct: loading mime info from
/magwien/var/gondor-phpserver/html/mwiki/includes/mime.info
MimeMagic::doGuessMimeType: ZIP header present at end of /tmp/phplRPqef
MimeMagic::detectZipType:
/^mimetype(application\/vnd\.oasis\.opendocument\.(?:chart-template|chart|formula-template|formula|graphics-template|graphics|image-template|image|presentation-template|presentation|spreadsheet-template|spreadsheet|text-template|text-master|text-web|text))/
MimeMagic::detectZipType: unable to identify type of ZIP archive
MimeMagic::guessMimeType: final mime type of /tmp/phplRPqef: application/zip
MediaHandler::getHandler: no handler found for application/zip.
File::getPropsFromPath: /tmp/phplRPqef loaded, 453632 bytes, application/zip.
MacBinary::loadHeader: header bytes 0 and 74 not null
MimeMagic::doGuessMimeType: ZIP header present at end of /tmp/phplRPqef
MimeMagic::detectZipType:
/^mimetype(application\/vnd\.oasis\.opendocument\.(?:chart-template|chart|formula-template|formula|graphics-template|graphics|image-template|image|presentation-template|presentation|spreadsheet-template|spreadsheet|text-template|text-master|text-web|text))/
MimeMagic::detectZipType: unable to identify type of ZIP archive
MimeMagic::guessMimeType: final mime type of /tmp/phplRPqef: application/zip


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

UploadBase::verifyExtension: mime type application/zip mismatches file
extension docx, rejecting file

Perhaps you can take a look at the attached Testdocument, may be it is not in
the format you expect.

-- 
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