搜索 | 用户支持

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

Learn More

Downloaded CSV file gets saved in XML format

  • 2 个回答
  • 0 人有此问题
  • 最后回复者为 KevinR1

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.

被采纳的解决方案

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.

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

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.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题