Jump to content

Topic on Project:Support desk/Flow

docx file extension doesn't match MIME type zip

3
H3n2y (talkcontribs)

Hi, we are running MediaWIki version 1.31.6 and everytime I am trying to upload a docx file, I get an error message "file extension ".docx" doesn't match MIME-type (application/zip).", though "docx" is in wgFileExtensions. Does anyone know this issue? Thanks, Henry

Jonathan3 (talkcontribs)

This rings a bell. I think I ran up against it a few years ago and just stopped uploading .docx files. I think you can turn off MIME-type detection. Maybe see Manual:MIME type detection for ideas.

Bawolff (talkcontribs)

make sure that .docx really is a .docx and not a .doc

Reply to "docx file extension doesn't match MIME type zip"