Closed Bug 271225 Opened 20 years ago Closed 7 years ago

Lines with "From" in email body - incorrect saving as draft

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(1 file)

Lines with "^From " are always problematic in applications using mbox format. This affets also Thunderbird 0.9 and older and Mozilla too. 1) Write *HTML* mail with line "From " (this should be "From" at the begining of the line and space) - other characters can follow on this line, this is not neccessary 2) Save it as Draft 3) Open draft for editing Result: The line contains ">" character before the From. Expected result: The line should be as the original text of the draft. This affects only HTML e-mails - plain/text mails are handled correctly (by including, excliding spaces). In the saved draft is line ">From <br>", which seems correct. So messenger should probably remove ">" from the "^>From " lines during opening HTML drafts. I hope this solution is safe, because ">From " lines are saved as "&gt;From <br>".
Attached file Testcase
Including test case with some "From" lines. Good mailer should handle all of them correctly - Thunderbird and Mozilla have problem only with the 6th line.
(In reply to comment #1) > Including test case with some "From" lines. Good mailer should handle all of > them correctly - Thunderbird and Mozilla have problem only with the 6th line. Not quite -- 16th line is also affected. *** This bug has been marked as a duplicate of 121946 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Nope, not a dupe -- my mistake.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Note that this is only a problem for mail where the draft is saved in a local or POP folder; IMAP draft folders are not affected. Bug 121946, bug 121947, bug 194382, and bug 248726 are all related.
Assignee: mscott → sspitzer
Severity: minor → normal
Status: UNCONFIRMED → NEW
Component: General → Composition
Ever confirmed: true
OS: Windows 2000 → All
Product: Thunderbird → MailNews
Hardware: PC → All
Version: unspecified → Trunk
>Not quite -- 16th line is also affected. Ooh, you have true. But 16th line is exact copy of the 6th, so no other problem here 8-)
Product: MailNews → Core
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
QA Contact: composition
Product: Core → MailNews Core
Tested by first changing settings so drafts are saved to local folders: Account Settings, Copies & Folders. Format was HTML. No problem with the 6th line in attachment 166768 [details] anymore. Closing as WFM. Thunderbird 52.0.1 (32-bit) Windows 7 64-bit
Status: NEW → RESOLVED
Closed: 20 years ago7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: