Closed
Bug 242933
Opened 20 years ago
Closed 20 years ago
QP decoder splits the last line if not ended with newline
Categories
(MailNews Core :: MIME, defect)
MailNews Core
MIME
Tracking
(Not tracked)
People
(Reporter: anlan, Assigned: sspitzer)
Details
Attachments
(1 file)
(deleted),
message/rfc822
|
Details |
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20040507
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20040507
If a QP-encoded message is not ended with a newline, the last line is parsed in
two parts instead of as one chunk. Normally this does not affect a user visibly
- unless the last line ends with an url - the txt2html then fails to mark up the
whole url. This might sound as a corner case, but as it turns out it is quite
common to get a mail with a little text and a reference url last...
Reproducible: Always
Steps to Reproduce:
1. Open message qp-encoded with an url last.
Actual Results:
The url is only partially linked.
Expected Results:
Same as with url in text.
I poked around in the mime source, and there are a few comments regarding making
sure the whole line is parsed in one chunk. I guess this is just a glitch
somewhere for a case someone didn't consider...
Reporter | ||
Comment 1•20 years ago
|
||
Testcase msg, generated with Pine. Have seen this from other clients as well
(Outlook, I think). Mozilla seems quite careful theese days to not end without
a newline.
Problem verified in current 1.7-branch.
The message contains a url ending with "...789". The link ends in the "8", not
the "9".
Comment 2•20 years ago
|
||
Dupe of bug 242817?
Reporter | ||
Comment 3•20 years ago
|
||
Thanks for pointing me in the right direction.
Possibly dupe of bug 242817, but that is up for discussion. Definitely a dupe of
bug 90161 though. The bugs have different symptoms but might have a common
cause. Lousy testcase in the latter though, I'll provide a minimal one.
*** This bug has been marked as a duplicate of 90161 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Comment 4•20 years ago
|
||
Thanks, Andreas, anyways, for the very pointed bugreport.
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•