Composing messages are not RFC2646 complient

UNCONFIRMED
Unassigned

Status

UNCONFIRMED
9 years ago
8 years ago

People

(Reporter: niklas.brandt, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14
Build Identifier: Thunderbird version 2.0.0.24pre (20090924)

When composig a message with type 'text/plain; format=flowed' lines beginning with a SPACE character should be escaped with an extra SPACE character.

A |
  |

should be encoded as

A |
   |

according to section 4.4 of RFC2646. Messages generated by Thunderbird will be rendered as

A |
 |

by RFC2646 complient mail clients (i.e. Thunderbird when reading mail).

Reproducible: Always

Comment 1

8 years ago
This has apparently been changed in TB 3.1.5, although I couldn't find a mention about it in the Rumbling Edge.  However, I don't close the bug: I was going to open a new one when I stumbled upon this.

The new behavior makes for surprises when composing a formatted paragraph with a left hanging text, as the one exemplified above ("A |").  It looks fine in TB, but if it goes through a mailing list that removes the format parameter it will be rendered as encoded.

Please note that space-stuffing is a MUST in rfc 3676

   On generation, any unquoted lines which start with ">", and any lines
   which start with a space or "From " MUST be space-stuffed.  Other
   lines MAY be space-stuffed as desired.
                 http://tools.ietf.org/html/rfc3676#section-4.4

The point is in the second sentence of that paragraph:  By space-stuffing _all_ lines except quoted ones, the least surprise principle will be honored.
You need to log in before you can comment on or make changes to this bug.