Open Bug 605502 Opened 15 years ago Updated 3 years ago

Spaces can disappear when a saved draft which uses the QP encoding and format=flowed is edited

Categories

(MailNews Core :: Composition, defect)

x86
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: nad, Unassigned)

Details

(Whiteboard: [dupeme?])

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4 Saving a message as a draft and reopening it for editing can corrupt the message's text. Reproducible: Always Steps to Reproduce: 1. In a fresh profile, set mail.strictly_mime to true. 2. Create a new plain text message containing the following line: " ∀ x" (65 spaces, a universal quantifier, a space, and an x). 3. Save the message as a draft. 4. Close the message. 5. Edit the draft. Actual Results: The space between the universal quantifier and the x has disappeared. Expected Results: The space should not disappear. Relevant message headers: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable The line is stored as follows: =E2=88=80= x Note that the QP encoder has inserted a soft line break before the lone space character. I suspect that the line " x" is interpreted as being space-stuffed; the problem goes away if I set mailnews.send_plaintext_flowed to false.
Is this on a local draft folder ? Do you reproduce when Thunderbird is launched in -safe-mode (http://support.mozillamessaging.com/en-US/kb/Safe+Mode) ?
It doesn't matter if the draft folder is local or remote. I can reproduce the behaviour also in safe mode.
Component: Message Compose Window → Composition
Product: Thunderbird → MailNews Core
QA Contact: message-compose → composition
duplicate?
Whiteboard: [dupeme?]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.