Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Extensions are changed on download

  • 5 réponses
  • 0 a ce problème
  • Dernière réponse par feklee

more options

I realize that if a file is served with mime type Content-Type: application/pgp-encrypted, then its extension is changed by Firefox on Android to ".pgp". Apparently, Firefox for Android likes to modify extensions based on mime type.

Can this behavior be disabled?

I realize that if a file is served with mime type ''Content-Type: application/pgp-encrypted'', then its extension is changed by Firefox on Android to ".pgp". Apparently, Firefox for Android likes to modify extensions based on mime type. ''Can this behavior be disabled?''

Toutes les réponses (5)

more options

Unfortunately, no. Firefox for desktop does the same.

Cela vous a-t-il été utile ?

more options

Thanks! I was hoping that there is an option in about:config.

The problem at hand is that .pgp somehow are not opened by OpenKeychain upon download, whereas .gpg files are.

Otherwise, Firefox on Android is attractive, especially the built-in PDF viewer. I hope this issue will be fixed.

Cela vous a-t-il été utile ?

more options

What is the rationale? Make sure that file extensions match mime type? (security)

In the meantime, I am trying to figure out if it is possible to have OpenKeychain show up as handler for .pgp files.

Cela vous a-t-il été utile ?

more options

Firefox for Android changes file extensions based on MIME type, like ".pgp" for "application/pgp-encrypted". There's no option to disable this, so you’ll need to manually rename the file after download or use a different download manager.

Cela vous a-t-il été utile ?

more options

Thanks! I would just like to understand the rationale.

I don't even mind so much the change of the extension. What I do mind is that OpenKeychain is not listed as an option to decrypt .pgp files. With ".gpg" files, that issue does not exist.

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.