Reply to Re: Upload xlsx files

Re: Upload xlsx files new!
by colin, 1 year, 7 months ago
Basically, the MIME detection on your system returns the wrong MIME type, or more precisely not the best MIME type for your file.

I tried with two XLSX files on my system:
$ file -b --mime foo.xlsx
application/octet-stream; charset=binary

$ file -b --mime bar.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=binary

Here, even though they are two XLSX files, the MIME returned is not the same. So it seems that the file itself may confuse the MIME type detection.

I am not too sure that we can do something about that...Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important