Closed Bug 1839010 Opened 3 years ago Closed 1 year ago

Forwarding messages as an attachment with the "add extension to file name" preference disabled (mail.forward_add_extension) uses the wrong MIME type

Categories

(MailNews Core :: Composition, defect)

Thunderbird 102
x86_64
Linux
defect

Tracking

(thunderbird_esr128 fixed, thunderbird136 affected)

RESOLVED FIXED
137 Branch
Tracking Status
thunderbird_esr128 --- fixed
thunderbird136 --- affected

People

(Reporter: bugzilla.mozilla.simon, Assigned: mkmelin)

Details

Attachments

(1 external file)

Steps to reproduce:

  1. Set mail.forward_add_extension=false
  2. Forward an email that has the subject "test" as an attachment

Actual results:

The attachment has content-type text/plain

Expected results:

The attachment has content-type message/rfc822

I know this is a hidden preference but it is essential for the significant number of mail servers that are rejecting forwarded messages to abuse@ addresses because they have decided that ".eml files are executable".

Simon, is this still broken for you in version 128?
Please let us know.

Flags: needinfo?(bugzilla.mozilla.simon)
Whiteboard: [closeme 2024-12-21]

This is still broken in 115.16.0esr

Flags: needinfo?(bugzilla.mozilla.simon)
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Whiteboard: [closeme 2024-12-21]

Are you not able to update to 128?

Flags: needinfo?(bugzilla.mozilla.simon)

It's still broken in 133, which commit are you expecting to have fixed this?

Flags: needinfo?(bugzilla.mozilla.simon)

(In reply to Simon Arlott from comment #5)

It's still broken in 133, which commit are you expecting to have fixed this?

I don't have any expectations, no fix in mind.

Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → 137 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/2e4be0842605
Ensure forwared-as-attachment emails (esp for mail.forward_add_extension)false) uses the correctMIME type. r=tobyp

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Component: Untriaged → Composition
Product: Thunderbird → MailNews Core

Comment on attachment 9466451 [details]
Bug 1839010 - Ensure forwared-as-attachment emails (esp for mail.forward_add_extension)false) uses the correctMIME type. r=#thunderbird-back-end-reviewers

[User impact if declined]

  • Forwarded emails may not work properly

[Is this code covered by automated tests?]

  • Yes

[Has the fix been verified in Daily? (or Beta for an ESR uplift?)]

  • Yes

[Needs manual test from QA?]
-No

[List of other uplifts needed]
None

[Risk to taking this patch]
Low. Small isolated change really.

[String changes made/needed]
None

Attachment #9466451 - Flags: approval-comm-release?
Attachment #9466451 - Flags: approval-comm-esr128?

Comment on attachment 9466451 [details]
Bug 1839010 - Ensure forwared-as-attachment emails (esp for mail.forward_add_extension)false) uses the correctMIME type. r=#thunderbird-back-end-reviewers

[Triage Comment]
Approved for release
Approved for esr128

Attachment #9466451 - Flags: approval-comm-release?
Attachment #9466451 - Flags: approval-comm-release+
Attachment #9466451 - Flags: approval-comm-esr128?
Attachment #9466451 - Flags: approval-comm-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: