Closed Bug 300143 Opened 19 years ago Closed 19 years ago

No space-stuffing when using Content-Type: "text/plain" content-type with flowed"

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 125928

People

(Reporter: mozilla, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Thunderbird version 1.0 (20041206)

Read RFC 3676, paragraph "4.4. Space-Stuffing"
ftp://ftp.rfc-editor.org/in-notes/rfc3676.txt

Thunderbird removes the first space when rendering the message but doesn't stuff
one when creating it.

Reproducible: Always

Steps to Reproduce:
1. Write a message with a line starting with a space

Actual Results:  
Notice the first space in the line is not displayed in the saved or received
message (don't look a the compose window).

Expected Results:  
Thunderbird should add an extra space in the raw message.
I see this happen in Thunderbird version 1.0.2 (20050317) on Windows, but only
if I set "Wrap plain text messages at" to zero and compose a plain text message.

When "Wrap..." has a sensible value, it does not happen.

(Really, I was hoping that setting "Wrap..." to zero would give me format=fixed.)
Related to Core bug 204437?
(In reply to comment #2)
Related in a way.  That bug 204437 was about displaying a badly-formed e-mail. 
This bug is about composing a badly-formed e-mail.

In both cases, the e-mail is badly-formed in the same way: the header claims
that the body is flowed, but the body is not flowed.
This hardly counts as a trivial bug!

This is seen when composing as HTML but sending as plain text, or 
(as noted in comment 1) when composing in plain text with wrap=0.
See bug 125928 comment 34.  Composing as plain with normal wrap does get the correct space-stuffing.

(In reply to comment #1)
> I was hoping that setting "Wrap..." to zero would give me format=fixed.

See bug 168420 for information about f=f, including the informative FAQ 
attached to that bug.  To turn off f=f when sending mail, set the preference
mailnews.send_plaintext_flowed  to  false.

*** This bug has been marked as a duplicate of 125928 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.