Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer
Denna tråd har arkiverats. Ställ en ny fråga om du behöver hjälp.
Arkiverad

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

jscher2000 -... besvarat
SaiKiranP

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

Alla svar (3)

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.

Ändrad av WestEnd

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

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"