Closed
Bug 368550
Opened 18 years ago
Closed 18 years ago
for quoted-printable msg new mail alert displays redundant 'equal sign' in the message preview field
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: koubekk, Assigned: Bienvenu)
Details
(Keywords: fixed1.8.1.2)
Attachments
(3 files)
16.04 KB,
image/png
|
Details | |
1.38 KB,
text/plain
|
Details | |
1.34 KB,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Build Identifier: version 2 beta 2 (20070128) When I receive a message with some international characters (in my case: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable) the new mail alert which pops up shows a redundant equal sign in the message preview text field. Notice: the equal symbol is right there in the message source at the end of the line, but doesn't show in thunderbird itself when I open the respective message. Reproducible: Always Steps to Reproduce: 1. Set the new mail alert to show all three fields (default) 2. Receive a plain-text (format=flowed) message, quoted-printable encoding, long enough 3. See the new mail alert, the message preview field Actual Results: A redundant equal sign appears in the new mail alert (message preview field). Expected Results: The alert message preview field should show text as in thunderbird's message window, with no extra garbage characters. attachments follow.
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Comment 2•18 years ago
|
||
Message which triggered the problem.
Reporter | ||
Comment 3•18 years ago
|
||
Just found that the same problem occurs in folder summary pop-up.
Assignee | ||
Updated•18 years ago
|
Attachment #253159 -
Attachment mime type: message/rfc822 → text/plain
Comment 4•18 years ago
|
||
I sent the below text to myself (as qp), didn't see the equal sign, but maybe the popup size/ font size happens to make it not show... This is á test message, that illustrate the redundant equal sign in the alert pop-up.
Summary: New mail alert displays redundant 'equal sign' in the message preview field → for quoted-printable msg new mail alert displays redundant 'equal sign' in the message preview field
Reporter | ||
Comment 5•18 years ago
|
||
OK, I concur that replicating this bug is fairly tricky. But when I receive messages in my native language it occurs quite often. Another message example: Some international character to trigger the proper encoding: á. Now just plain text without any symbols. After receiving, the source looks like this: Some international character to trigger the proper encoding: =E1. Now jus= t=20 plain text without any symbols. I'm no expert on the encoding used, but is it normal that some lines get truncated with the '=' symbol? Every time I manage to write an e-mail whose first line ends with '=' (in source), the problem with pop-up text occurs...
Assignee | ||
Comment 6•18 years ago
|
||
Maybe we're stripping line endings before doing the quoted printable decoding. I'll check.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 7•18 years ago
|
||
Thank you very much! P.S.: Keep up the great work! :-)
Assignee | ||
Comment 8•18 years ago
|
||
we're doing the right thing with the line endings, I think, which is to leave them in before decoding the quoted printable text - but I suspect the quoted printable decoding code we have doesn't deal with line-endings (perhaps because previously it was only used by the search code, which doesn't really care about line endings or the stray extra '=' in the text.)
Assignee: mscott → bienvenu
Assignee | ||
Comment 9•18 years ago
|
||
treat trailing = as a soft line break, i.e., ignore it, per http://en.wikipedia.org/wiki/Quoted-printable (see soft line breaks.)
Attachment #253367 -
Flags: superreview?(mscott)
Updated•18 years ago
|
Attachment #253367 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Comment 10•18 years ago
|
||
fixed on trunk and branch
You need to log in
before you can comment on or make changes to this bug.
Description
•