This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Extensions are changed on download

  • 8 การตอบกลับ
  • 0 คนมีปัญหานี้
  • ตอบกลับล่าสุดโดย Khalid

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?''

การตอบกลับทั้งหมด (8)

more options

Unfortunately, no. Firefox for desktop does the same.

มีประโยชน์หรือไม่

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.

มีประโยชน์หรือไม่

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.

มีประโยชน์หรือไม่

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.

มีประโยชน์หรือไม่

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.

มีประโยชน์หรือไม่

more options

Submit this at bugzilla.mozilla.org

มีประโยชน์หรือไม่

more options

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

มีประโยชน์หรือไม่

more options

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

มีประโยชน์หรือไม่

ถามคำถาม

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.