Browse Source

Follow-up to rev. 6ed64fbfd46f: Open message/rfc822 attachment for viewing needs to be supported.

1.1.101
Jorg Knobloch 1 year ago
parent
commit
de52ac57f4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      addon/content/pEpMimeDecrypt.js

+ 2
- 1
addon/content/pEpMimeDecrypt.js View File

@ -40,7 +40,8 @@ MimeDecrypt.prototype = {
},
onStopRequest(request, status) {
if (this.uri && this.uri.spec.includes("filename=")) {
if (this.uri && this.uri.spec.includes("filename=") &&
!this.uri.spec.includes("type=application/x-message-display")) {
// This is a save operation of a message/rfc822 attachment. Just return the original text.
this.proxy.outputDecryptedData(this.inBuffer, this.inBuffer.length);
return;


Loading…
Cancel
Save