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!

搜索 | 用户支持

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

详细了解

Mozilla file type confusion

  • 1 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 cor-el

more options

Firefox seems to think that my .rst files are text type files.

I store these files online and when I save them them to my PC they work fine. However when I try to open them from my store Firefox attempts to open them in Notepad. This didnt always happen and I've no idea how to change it back.

When I click on my files the standard 'What should Firefox do with this file' box appears but it now thinks that .rst files are text type documents. I've noticed that when I open the file it simply puts .txt after the existing extension.

How do I change this to how it was?

Firefox seems to think that my .rst files are text type files. I store these files online and when I save them them to my PC they work fine. However when I try to open them from my store Firefox attempts to open them in Notepad. This didnt always happen and I've no idea how to change it back. When I click on my files the standard 'What should Firefox do with this file' box appears but it now thinks that .rst files are text type documents. I've noticed that when I open the file it simply puts .txt after the existing extension. How do I change this to how it was?

所有回复 (1)

more options

You need to configure the server properly if the server currently sends such .rst files as text/html.

I don't know what the correct MIME type for this file should be, but you can always use a generic type as application/octet-stream to force Firefox to save the file.