Closed Bug 404441 Opened 19 years ago Closed 19 years ago

custom filter finds match in inline image data

Categories

(Thunderbird :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 37031

People

(Reporter: jblack4, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: version 1.5.0.14pre (20071022) I have created a filter that searches for a word in the message body. Occasionally it finds the word embedded in an in-line image which is encoded as base64. For example, the sender's signature contains a logo which by happenstance contains a character pattern which matches a word or phrase in a filter. My request is that the "body" "contains" filter combination not look in the base64 section, or some other way of avoiding matching text in the base64 section. Reproducible: Always Steps to Reproduce: 1. set up a filter to execute an action if the body of a message contains a 4- or 5- letter word. 2. receive some messages containing in-line images encoded as base64. Here's a snippet: ------=_NextPart_000_0054_01C82ABC.79621B30 Content-Type: image/jpeg; name="image001.jpg" Content-Transfer-Encoding: base64 ... followed by a lot of ascii characters such as eeWTpuPfCjPtmsazhgXRPEniS4jV4L12FrbkfKwBKISO+Sen413Q0DTle8dYZA15/ryszjzPrzTX ... which may contain word(s) that match a user-specified filter. 3. Sooner or later you will get a message that by happenstance contains the particular 4- or 5-character sequence encoded in the base64. I can e-mail you a sample message and the word to filter on if you wish, or look at the base64 code snippet for a word that some might find objectionable. Actual Results: 4. The filter finds the word in the base64 portion of the message, and executes the action it was told to do. Expected Results: I expect the filter to match in the text or html section, but preferably not in the base64 section.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.