Open Bug 1874023 Opened 1 year ago Updated 1 year ago

Filtering on a message body also filters on attachment content

Categories

(Thunderbird :: Filters, defect, P3)

Thunderbird 115

Tracking

(thunderbird123 affected)

Tracking Status
thunderbird123 --- affected

People

(Reporter: nipatriknilsson, Unassigned)

Details

(Keywords: triaged)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

  1. A message arrives with an attachment EML file
  2. The message is filtered

Actual results:

The message is filtered according to the attached EML file headers.

Expected results:

The filter engine should stop filtering headers when the primary message's headers ends. The rest should go to the body.

I have reproduced this locally. More specifically, filtering on the message body extends to the message's attachments, since they're technically part of the multipart message body. Attachments should be filtered out from filtering (we can probably filter out body parts that have the Content-Disposition: attachment header).

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: triaged
Priority: -- → P3
Summary: Message Filtering should apply filter message header not attached eml → Filtering on a message body also filters on attachment content

Please note that searching the bodies of attached messages is by design, it was implemented for bug 1434020.

You need to log in before you can comment on or make changes to this bug.