Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

Extensions are changed on download

  • 8 válasz
  • 0 embernek van ilyen problémája
  • 300 megtekintés
  • Utolsó üzenet ettől: 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?''

Összes válasz (8)

more options

Unfortunately, no. Firefox for desktop does the same.

Hasznos?

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.

Hasznos?

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.

Hasznos?

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.

Hasznos?

more options

Submit this at bugzilla.mozilla.org

Hasznos?

more options

Thanks! But, as far as I understand it, it's not a bug. It seems to be intentional.

Hasznos?

more options

Sorry if that didn't fix your issue. Do you want me to try asking someone that works on Firefox about this?

Hasznos?

more options

Thanks, Khalid, but this seems by design. Of course, if a Firefox dev could clarify, this would be great.

The issue only happens with Content-Type: application/pgp-encrypted

I see it with filebrowser installed on my server. Interestingly their official demo server at demo.filebrowser.org does not show that issue (login: demo/demo). It serves files with Content-Type: application/octet-stream

Hasznos?

Kérdezzen

Be kell jelentkeznie fiókjába a válaszadáshoz. Kezdjen új kérdést, ha még nincs fiókja.