Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Extensions are changed on download

  • 5 odpowiedzi
  • 0 osób ma ten problem
  • Ostatnia odpowiedź od 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?''

Wszystkie odpowiedzi (5)

more options

Unfortunately, no. Firefox for desktop does the same.

Pomocne?

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.

Pomocne?

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.

Pomocne?

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.

Pomocne?

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.

Pomocne?

Zadaj pytanie

Aby odpowiadać na posty, musisz zalogować się na swoje konto. Zadaj pytanie, jeśli nie masz jeszcze konta.