Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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"