Firefox appending xls to xlxs files at time of downloading a 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
Additional System Details
- Shockwave Flash 31.0 r0
- User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
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.
Modified by WestEnd
We don't have the issue using other browsers like IE and Chrome. only with Firefox.
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"