当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

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 wrongly opens as pdf a ".pdf.sig" file (double extension)

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

more options

I was trying to download a PGP signature for a .pdf file "filename.pdf.sig" but Firefox kept trying to open it and render it as PDF instead of downloading it. Under Settings > Applications there's nothing for the ".sig" extension.

I was trying to download a PGP signature for a .pdf file "filename.pdf.sig" but Firefox kept trying to open it and render it as PDF instead of downloading it. Under Settings > Applications there's nothing for the ".sig" extension.

すべての返信 (2)

more options

If you provide the link or a similar one because you may not want to share it, we have more info. Chances are the website does not use the proper MIME type that Firefox relies on, unlike other browsers (that may be more susceptible to any tricks because of this.

Additionally, you could quickly set up another profile to see what happens there, or have a look at the Applications panel - Set how Firefox handles different types of files and Manage file types and download actions in Firefox support articles. Look at the section that describes to remove the handlers.json file to reset the defaults in case that file is damaged. Then again, a new (test) profile will quickly indicate whether or not the issue is related to the website, or perhaps even your Linux distribution, its settings or additional (pgp) software?

more options

Added

AddType application/octet-stream .sig AddType application/octet-stream .pdf.sig

to my .htaccess and the issue seems resolved. Not sure if FF still needs fixing though.

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