Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Firefox wrongly opens as pdf a ".pdf.sig" file (double extension)

  • 2 Antworten
  • 1 hat dieses Problem
  • 8 Aufrufe
  • Letzte Antwort von 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.

Alle Antworten (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.

Geändert am von parasp