Closed Bug 571239 Opened 14 years ago Closed 14 years ago

Can't open attachments of certain saved messages

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
minor

Tracking

(thunderbird3.1 .1-fixed, thunderbird3.0 wanted)

RESOLVED FIXED
Thunderbird 3.3a1
Tracking Status
thunderbird3.1 --- .1-fixed
thunderbird3.0 --- wanted

People

(Reporter: neil, Assigned: jhorak)

Details

Attachments

(1 file)

The check used to detect opening the attachment of a saved message uses the syntax of a find ".eml?" ignoring case. Unfortunately the string being searched is a Unicode string and its version of find doesn't actually have an ignore case parameter. Instead the PR_TRUE is being interpreted as an offset of 1. Fortunately the code still works in the common case of the saved message ending in .eml in lower case, as the .eml never appears at an offset of 0 anyway.

The bug occurs in attachment 381294 [details] [diff] [review], and is fixed by attachment 450349 [details] [diff] [review].
Attachment #453497 - Flags: superreview+
Attachment #453497 - Flags: review+
Attachment #453497 - Flags: approval-thunderbird3.1.1+
Attachment #453497 - Flags: approval-thunderbird3.0.6+
Comment on attachment 453497 [details] [diff] [review]
Attachment 450349 [details] [diff] re-attached [r=Neil,sr=bienvenu]

Didn't make 3.0.6, will re-consider for 3.0.7.
Attachment #453497 - Flags: approval-thunderbird3.0.6+ → approval-thunderbird3.0.7?
Assignee: nobody → jhorak
Checked into comm-1.9.2 and the 3.1.1 relbranch for build 2:

http://hg.mozilla.org/releases/comm-1.9.2/rev/edcc1cfb7db0
http://hg.mozilla.org/releases/comm-1.9.2/rev/775c727d306d
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.2a1
Comment on attachment 453497 [details] [diff] [review]
Attachment 450349 [details] [diff] re-attached [r=Neil,sr=bienvenu]

I couldn't get this to apply on the 1.9.1 branch.
Attachment #453497 - Flags: approval-thunderbird3.0.7? → approval-thunderbird3.0.7-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: