https://bugzilla.wikimedia.org/show_bug.cgi?id=23688
Summary: (patch) Mimetypes for Microsoft's 2007 office formats
set wrongly
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Images and files
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Created an attachment (id=7411)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=7411)
patch for MediaWiki r65816
The file ./includes/mime.types assigns the old ppt, doc, etc. mimetypes to the
new 2007 pptx, docx, etc. file endings as well. This is wrong, and it leads to
problems especially with files served via the wfStreamFile() function: when
downloading docx/pptx/... files on machines that run the Windows operating
system, the file names get changed to fit the reported mimetype (i.e. the
actual file name gets .doc/.ppt/... appended). The files named in this way
cannot be successfully opened by Microsoft's office applications any more,
since they fail to recognize their files (yes, one should file a bug at MS
about this;-).
The solution is to use the correct mimetypes, as found on the Web, e.g. at
http://www.bram.us/2007/05/25/office-2007-mime-types-for-iis/
A patch is attached.
--
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