We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Downloaded CSV file gets saved in XML format

more options

I use a web application that lists items in a table, which provides a link to download the table as a CSV file. It used to work fine in previous versions of Firefox. However, in the current version, while the file save dialog defaults to a filename that ends in .csv and CSV is selected in the "Save as type:" drop-down, the data in the file that Firefox actually saves is in XML rather than CSV format. I don't know in which version of Firefox this behavior changed, as it's been a couple years since I tried to use this feature. Or I suppose it actually could be a new bug. I do know that when I use the same feature in Microsoft Edge, it saves the CSV file in the correct format, so this behavior seems to be peculiar to Firefox, rather than anything wrong with the web application.

I use a web application that lists items in a table, which provides a link to download the table as a CSV file. It used to work fine in previous versions of Firefox. However, in the current version, while the file save dialog defaults to a filename that ends in .csv and CSV is selected in the "Save as type:" drop-down, the data in the file that Firefox actually saves is in XML rather than CSV format. I don't know in which version of Firefox this behavior changed, as it's been a couple years since I tried to use this feature. Or I suppose it actually could be a new bug. I do know that when I use the same feature in Microsoft Edge, it saves the CSV file in the correct format, so this behavior seems to be peculiar to Firefox, rather than anything wrong with the web application.

Chosen solution

There is a recent bug in version 125 that may cause the wrong file to be downloaded (Bug 1892069). Try changing dom.block_download_insecure to false in about:config then restart the browser.

Read this answer in context 👍 0

All Replies (3)

more options

Chosen Solution

There is a recent bug in version 125 that may cause the wrong file to be downloaded (Bug 1892069). Try changing dom.block_download_insecure to false in about:config then restart the browser.

more options

That solved the problem. Odd coincidence that I happened try something I almost never do that hit a new bug.

more options

did not work for me