搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Extensions are changed on download

  • 7 个回答
  • 0 人有此问题
  • 246 次查看
  • 最后回复者为 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?''

所有回复 (7)

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

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?

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题