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.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Extensions are changed on download

  • 8 risposte
  • 0 hanno questo problema
  • 299 visualizzazioni
  • Ultima risposta di 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?''

Tutte le risposte (8)

more options

Unfortunately, no. Firefox for desktop does the same.

È stato 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.

È stato 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.

È stato 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.

È stato utile?

more options

Submit this at bugzilla.mozilla.org

È stato utile?

more options

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

È stato utile?

more options

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

È stato utile?

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

È stato utile?

Richiedi supporto

Bisogna accedere al proprio account per rispondere nelle discussioni. Se non si possiede ancora un account, inserire una nuova richiesta.