https://bugzilla.wikimedia.org/show_bug.cgi?id=35607
Web browser: ---
Bug #: 35607
Summary: MediaWiki incorrectly detects OOXML types of files
saved by OpenOffice
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Images and files
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
MSOffice puts [Content_Types].xml at the beginning of ZIP file, but OpenOffice
does not - it usually puts it at the end. So MimeMagic::detectZipType() can't
guess the type as appropriate, because it checks only the first ZIP entry. Such
files are detected as application/zip and can't be uploaded because of mime
type and extension mismatch.
--
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