Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

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

  • 2 odgovora
  • 1 ima ovaj problem
  • 8 prikaza
  • Posljednji odgovor od 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.

Svi odgovori (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.

Izmjenjeno od parasp