Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

FireFox 96.0.3 - HTML download link forced to open as text file

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 9 回表示
  • 最後の返信者: cor-el

more options

Issue Description: My support ticket holder is running FireFox 96.0.3 and has to process records from the state, these records are available through links similar to this (not publicly accessible):

https://powerschool.tulsaschools.org/admin/reportqueue/prreport.html?jobQueueCurrentId=<id>&repName=<filename>&repType=html

When the dialog box offers to open / save the file the open option lists the file as a text file (ignoring the type tag above) and offers to open the file in the system's default text editor.

Choosing the save option downloads the file and saves it as a .html file... loading the downloaded file has the expected result of displaying the Web page as intended.

Other browsers (Chrome, Edge) load both files as HTML as expected. Steps taken: Cache and Cookies have been cleared, FireFox has been refreshed, and I closed and re-opened FireFox.

How can I recover the ability to display this HTML file as a webpage through the open option and not as source (text)? Resources: File saved in the temp folder & opening as source: FireFoxReport-Open.png Expected result (and result in other browsers: FireFoxReportOpen-Expected.png - Being edited for privacy

'''Issue Description: ''' My support ticket holder is running FireFox 96.0.3 and has to process records from the state, these records are available through links similar to this (not publicly accessible): https://powerschool.tulsaschools.org/admin/reportqueue/prreport.html?jobQueueCurrentId=<id>&repName=<filename>&repType='''html''' When the dialog box offers to open / save the file the open option lists the file as a text file (ignoring the type tag above) and offers to open the file in the system's default text editor. Choosing the save option downloads the file and saves it as a .html file... loading the downloaded file has the expected result of displaying the Web page as intended. Other browsers (Chrome, Edge) load both files as HTML as expected. '''Steps taken:''' Cache and Cookies have been cleared, FireFox has been refreshed, and I closed and re-opened FireFox. How can I recover the ability to display this HTML file as a webpage through the open option and not as source (text)? '''Resources:''' File saved in the temp folder & opening as source: FireFoxReport-Open.png Expected result (and result in other browsers: FireFoxReportOpen-Expected.png - Being edited for privacy
添付されたスクリーンショット

この投稿は beaslmi により に変更されました

すべての返信 (2)

more options
  • Snip* (found the edit link)

この投稿は beaslmi により に変更されました

more options

This might be about of how the server sends this file to Firefox. You can check the HTTP response headers in the Network Monitor.


You can try to set browser.download.sanitize_non_media_extensions = false on the about:config page to see if that makes Firefox show the correct file extension when you save the file.

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".