搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox appending xls to xlxs files at time of downloading a file

more options

We are using a java application to download excel file but at the time of downloading Firefox itself appending .xls extension to the .xlsx file

We are using a java application to download excel file but at the time of downloading Firefox itself appending .xls extension to the .xlsx file

所有回覆 (3)

more options

That isn't a FF doing that is the site doing format if it comes with the newer MS extension then that is what it is. If you having problems from that site then you need to contact them about it.

由 WestEnd 於 修改

more options

We don't have the issue using other browsers like IE and Chrome. only with Firefox.

more options

I assume you mean JDK on the server sending HTML/JavaScript/CSS to Firefox, and not a Java plugin applet (which no longer runs after Firefox 52 Extended Support Release).

Do you know what content-type header the web app is sending for XLSX files? I think these are preferred:

  • XLS: "application/vnd.ms-excel"
  • XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"