https://bugzilla.wikimedia.org/show_bug.cgi?id=18684
Summary: Uploading office 2007 files (docx, pptx etc) results in
error
Product: MediaWiki
Version: 1.14.0
Platform: PC
OS/Version: Windows Server 2003
Status: NEW
Severity: blocker
Priority: Normal
Component: Uploading
AssignedTo: [email protected]
ReportedBy: [email protected]
Overview:
With Mediawiki 1.14.0, trying to upload a word 2007 file (docx extension)
resulted in an error message that it as application/zip and the file could be
harmful, hence cannot be uploaded.
The LocalSettings.php had already been updated with 'docx' extension included
in the array variable $wgFileExtensions. Also, the IIS server (5.0) has 'docx'
extension type configured for allowable file transfer.
Temporary Work-around implemented at the local server:
In file "includes\Specials\SpecialUpload.php", in "function verify($tmpfile,
$extension )", I bypass the checks "if ( $this->checkFileExtension( $mime,
$wgMimeTypeBlacklist )", if the file extension is 'docx'.
Comments:
Not sure if it is a known issue in MediaWiki 1.14.0.
If it is a bug, I would be looking forward to a permanent solution to the
above.
--
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