Closed
Bug 238165
Opened 22 years ago
Closed 21 years ago
8bit CTE is used in plaintext part of plaintext + html (multipart) message although in the header (Content-Transfer-Encoding) is set to base64
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jshin1987, Assigned: jshin1987)
Details
(Keywords: fixed1.7, intl, Whiteboard: fixed-aviary1.0)
Attachments
(1 file)
1.18 KB,
patch
|
Bienvenu
:
review+
mscott
:
superreview+
mkaply
:
approval1.7.5+
|
Details | Diff | Splinter Review |
Spun off from bug 234597 comment #6.
When Mozilla-mail/TB is configured to use 'quoted-printable' for outgoing
messages with 8bit characters and plain text + html format is selected, the
plain text part of the message has
Content-Transfer-Encoding: base64
(if there are enough number of 8bit characters to make base64 more
space-efficient), but the actual content-transfer-encoding used is 8bit. This
mismatch makes the plain text part unreadable when read by a mail program that
can't deal with html part.
Observed in TB 0.5 and Mozilla trunk
Comment 1•22 years ago
|
||
Should Mozilla's mail engine send base64 for text/plain at all? Popular
spam-blocking software run on ISPs' servers assigns a high "spamminess"
score to text/plain encoded with base64 because for a few months, spam
tended to use base64 to evade content-based filters that had not yet
upgraded to grok base64. Do we want to see "Mail sent in non-Latin
scripts is often blocked as spam" evangelism bug reports?
Assignee | ||
Comment 2•22 years ago
|
||
(In reply to comment #1)
> Should Mozilla's mail engine send base64 for text/plain at all?
That's a valid question, but this bug is not about that.
> Do we want to see "Mail sent in non-Latin
> scripts is often blocked as spam" evangelism bug reports?
I guess so. 'base64' factor can be taken into account by spam blocking programs,
but should not be given such a high 'spamness' score. (spam blocking programs
should be able to decode base64 part.) It's not just mozilla but Pine (and
probably other mail programs) that use base64 for text/plain messages with high
percentage of 8bit characters.
Assignee | ||
Comment 3•21 years ago
|
||
This is a rather serious bug and needs to be noted in the release notes. A
work-around is to turn off 'use quote-printable' if one's preferred format of
outgoing messages is 'multipart' (html + plain).
Assignee: sspitzer → jshin
Summary: 8bit CTE is used in plaintext part of plaintext + html message although in the header (Content-Transfer-Encoding) is set to base64 → 8bit CTE is used in plaintext part of plaintext + html (multipart) message although in the header (Content-Transfer-Encoding) is set to base64
Assignee | ||
Comment 4•21 years ago
|
||
this is a trivial patch.
Assignee | ||
Comment 5•21 years ago
|
||
Comment on attachment 151430 [details] [diff] [review]
patch
This patch just does for Base64 what's done for QP.
Attachment #151430 -
Flags: superreview?(mscott)
Attachment #151430 -
Flags: review?(sspitzer)
![]() |
||
Updated•21 years ago
|
Attachment #151430 -
Flags: review?(sspitzer) → review+
![]() |
||
Updated•21 years ago
|
Attachment #151430 -
Flags: superreview?(mscott) → superreview+
![]() |
||
Updated•21 years ago
|
Whiteboard: fixed-aviary1.0
Assignee | ||
Comment 6•21 years ago
|
||
Thanks for r/sr and committing to aviary-1.0 branch. Fix checked into the trunk.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•21 years ago
|
||
Comment on attachment 151430 [details] [diff] [review]
patch
asking for a1.7.1
This was fixed on aviary-1.0 as well as on trunk.
It's a trivial fix that does for base64 what's done for quoted-printable. It
seems like somehow base64 case was not taken care of when this part was
originally written.
Attachment #151430 -
Flags: approval1.7.1?
Comment 8•21 years ago
|
||
Comment on attachment 151430 [details] [diff] [review]
patch
a=mkaply
Attachment #151430 -
Flags: approval1.7.1? → approval1.7.1+
![]() |
||
Comment 10•21 years ago
|
||
I also fixed this on the 0.7.1 branch
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•