Closed Bug 538322 Opened 16 years ago Closed 16 years ago

Search doesn't find long subject lines with spaces for email sent from TBird, then read by TBird

Categories

(Thunderbird :: Search, defect)

PowerPC
All
defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 124641

People

(Reporter: benjamingslade+mozilla, Unassigned)

Details

(Whiteboard: dupme)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.0.16) Gecko/2009120206 Firefox/3.0.16 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 When I send an email with a long subject line with space in it from TBird, then read the email with TBird, it displays fine, but when I try and search for the subject line, the search doesn't find it if I specify the whole long subject. Looking at the raw source for the email, it looks like the subject line is getting wrapped around the 70th character. Reproducible: Always Steps to Reproduce: 1.Send an email, with Thunderbird 3.0, with the subject line "1234567_1 1234567_2 1234567_3 1234567_4 1234567_5 1234567_6 1234567_7 1234567_8 1234567_9 1234567_0 1234567_A 1234567_B" (all one line, without the quotes) 2.Read the email with Thunderbird 3.0 3.Search for "1234567_7 1234567_8" in the subject line (in the quick search field, select "subject" then enter "1234567_7 1234567_8", or use the edit->find->search messages function, or use filters) Actual Results: Search doesn't find the email Expected Results: Search should find the email This seems to happen for plain text or html emails. Ie., > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit or > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Content-Transfer-Encoding: 7bit When I send an email from TBird 3.0 to my yahoo.com email account, I *don't* see any wrapping in the raw email source. When I send an email from my yahoo.com email account to my local mailbox and read it with TBird 3.0, I *don't* see the wrapping in the raw email source (Content-Type: multipart/alternative if that's relevant) Related to https://bugzilla.mozilla.org/show_bug.cgi?id=521238 ?
I also saw similar behavior on Windows XP, specifically: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 Win XP Pro version 2002 Service Pack 3
Component: General → Search
OS: Mac OS X → All
QA Contact: general → search
Version: unspecified → 3.0
Hmmm, I can also recreate this problem on TBird 2.0 (version 2.0.0.23 (20090812)), on Mac OS X (10.6.2). So this looks like it's not a TBird 3.0 specific problem. Also note, the same problem shows up when I search my "sent" folder for sent messages with the long subject lines.
in that case, probably a duplicate, but I don't think it's a dup of bug 521238. I would look for an older, already confirmed bug for both this and bug 521238.
Whiteboard: dupme
Ok, I'll search for old cases like this: (In reply to comment #3) > in that case, probably a duplicate, but I don't think it's a dup of bug 521238. > I would look for an older, already confirmed bug for both this and bug 521238.
Hmmm, this seems to be a duplicate of a 7 year old problem, "Filter or Search: does not handle multi-line (wrapped, folded) headers correctly when search term spans lines" https://bugzilla.mozilla.org/show_bug.cgi?id=124641
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.