Search message body only searches undecoded data

Bug #348512 reported by Jerome Abela
2
Affects Status Importance Assigned to Milestone
mutt
Fix Released
Unknown
mutt (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: mutt

On the attached mbox file:
- using "l ~b BpcyB0aG" selects the message, as this string is part of the base64 encoding of the content.
- using "l ~b content" selects no message, despite this word appearing in the body of the message.

The first search works, but has no useful meaning.
The second search is very meaningful, it's what the user wants, but it doesn't work.

Tags: patch
Revision history for this message
Jerome Abela (jerome-abela) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

I can reproduce this issue on karmic and lucid both.

This is particularly an issue when your emails are in UTF-8, which is stored as base64-encoded data.

Changed in mutt (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

This is upstream bug http://dev.mutt.org/trac/ticket/3386

Fix is to change the 'thorough_search' option to default as 'yes'.

Patch: http://dev.mutt.org/trac/changeset/40eca68c394a

Workaround: Set this option in .muttrc - "set thorough_search=yes"

tags: added: patch
Changed in mutt:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.