Does Chrome always adds an XLS extension on a vnd.ms-excel mime type?

Posted by Claudio on Stack Overflow See other posts from Stack Overflow or by Claudio
Published on 2010-03-26T15:51:22Z Indexed on 2010/03/26 15:53 UTC
Read the original article Hit count: 446

Filed under:
|
|
|
|

It seems that a simple download of a PHP generated CSV file (with a vnd.ms-excel mime type for the sake of opening it with (Open)Office readly upon the "Save as..." dialog, when present) always gets the unwanted .xls extension when the UA is Google Chrome. The file would then be named as myfile.csv.xls. Firefox behaves correctly. I wonder if it is a bug, a feature or a misunderstanding of some references. Thank you.

© Stack Overflow or respective owner

Related posts about google-chrome

Related posts about csv