F
Francois Grieu
This is to report a bug with how Entourage 9.0.4 (4011)
for traditional MacOS performs quoted-printable encoding.
When sending an HTML-enabled message consisting of
- blank line
- 50 times the character =
- blank line
the message is mime-formatted and the HTML part is encoded
with the "quoted-printable" mechanism; the message contains
a line with
=3D[repeated 50 times]<BR>
The total length of this line is 154 characters, when rfc 2045
<http://rfc.sunsite.dk/rfc/rfc2045.html>
clearly defines that a quoted-printable line must not exceed
76 characters.
" (5) (Soft Line Breaks) The Quoted-Printable encoding
REQUIRES that encoded lines be no more than 76
characters long. If longer lines are to be encoded
with the Quoted-Printable encoding, "soft" line breaks
must be used. An equal sign as the last character on a
encoded line indicates such a non-significant ("soft")
line break in the encoded text.
(..)
The 76 character limit does not count the trailing CRLF,
but counts all other characters, including any equal signs."
The same bug occurs in the non-HTML part of messages containing
characters specific to ISO-8859-1, such as 50 times é
So clearly, Entourage violates quoted-printable encoding rules.
Problem is it applies an about 76 character limit BEFORE,
rather then AFTER, quoted-printable encoding. This triggers
problems in some gateways.
Note: this encoding bug is in addition of two bugs reported
long ago in the quoted-printable DECODING of Entourage and
Outlook for traditional MacOS 9:
- the decoding process removes a space or tab when it is the
last byte of a 65536 bytes block in the (encoded) file. This
bug is demonstrated in an example at
<http://persoweb.francenet.fr/~fgrieu/QuotedPrintableBug.sit>
- the decoding process translates an end-of-line in the message
(one without a final = character) into 0x0D (CR), instead of
0x0D 0x0A (CR LF) as required explicitly by rfc 2045.
Both bugs tend to break received attachments that are encoded
using quoted-printable, like PDF files.
I'd be interested to know if either of the three bugs is fixed
in the X version of Entourage.
I'd be interested to know the best method to report such bugs.
François Grieu
for traditional MacOS performs quoted-printable encoding.
When sending an HTML-enabled message consisting of
- blank line
- 50 times the character =
- blank line
the message is mime-formatted and the HTML part is encoded
with the "quoted-printable" mechanism; the message contains
a line with
=3D[repeated 50 times]<BR>
The total length of this line is 154 characters, when rfc 2045
<http://rfc.sunsite.dk/rfc/rfc2045.html>
clearly defines that a quoted-printable line must not exceed
76 characters.
" (5) (Soft Line Breaks) The Quoted-Printable encoding
REQUIRES that encoded lines be no more than 76
characters long. If longer lines are to be encoded
with the Quoted-Printable encoding, "soft" line breaks
must be used. An equal sign as the last character on a
encoded line indicates such a non-significant ("soft")
line break in the encoded text.
(..)
The 76 character limit does not count the trailing CRLF,
but counts all other characters, including any equal signs."
The same bug occurs in the non-HTML part of messages containing
characters specific to ISO-8859-1, such as 50 times é
So clearly, Entourage violates quoted-printable encoding rules.
Problem is it applies an about 76 character limit BEFORE,
rather then AFTER, quoted-printable encoding. This triggers
problems in some gateways.
Note: this encoding bug is in addition of two bugs reported
long ago in the quoted-printable DECODING of Entourage and
Outlook for traditional MacOS 9:
- the decoding process removes a space or tab when it is the
last byte of a 65536 bytes block in the (encoded) file. This
bug is demonstrated in an example at
<http://persoweb.francenet.fr/~fgrieu/QuotedPrintableBug.sit>
- the decoding process translates an end-of-line in the message
(one without a final = character) into 0x0D (CR), instead of
0x0D 0x0A (CR LF) as required explicitly by rfc 2045.
Both bugs tend to break received attachments that are encoded
using quoted-printable, like PDF files.
I'd be interested to know if either of the three bugs is fixed
in the X version of Entourage.
I'd be interested to know the best method to report such bugs.
François Grieu