Closed
Bug 126981
Opened 23 years ago
Closed 23 years ago
anchors in HTML mails broken
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: bugzilla, Assigned: mscott)
References
Details
(Keywords: regression)
Attachments
(1 file)
666 bytes,
patch
|
sspitzer
:
review+
alecf
:
superreview+
shaver
:
approval+
|
Details | Diff | Splinter Review |
This seems to have happend after the last checkin to the IMAP code (rfc2026).
If a HTML mail have internal anchors you get IMAP errors when pressing them:
One of the links in my HTMl mail is to an anchor called "#afsnit-2". The
complete link is:
imap://hege@tarkin.int.tele.dk:143/fetch%3EUID%3E/INBOX/projects/test%3E4#afsnit-2
This produces:
1220[1f87cf8]: tarkin.int.tele.dk:S-INBOX/projects/test:SendData: 170 UID fetch
4#afsnit-1 (UID RFC822.SIZE BODY[])
1220[1f87cf8]: tarkin.int.tele.dk:S-INBOX/projects/test:CreateNewLineFromSocket:
170 BAD Protokolfejl: "Expected SPACE not found"
20020220
Assignee | ||
Comment 1•23 years ago
|
||
anchors in html mail broke due to some string comparison changes in nsDocShell
on the 19th I think.
We keep returning out of the scroll to anchor code early in this new clause:
if (Substring(currentLeftStart, currentLeftEnd).Equals(sNewLeft)) {
return NS_OK; // URIs not the same
}
if I bypass these lines we properly scroll to the anchor.
Status: NEW → ASSIGNED
Keywords: nsbeta1,
regression
Summary: anchors in HTML mails now produces IMAP errors → anchors in HTML mails broken
Target Milestone: --- → mozilla0.9.9
Assignee | ||
Comment 2•23 years ago
|
||
I'm pretty sure the logic in this line is backwards. It's returning if the two
strings are equal and I think we want to be returning if they aren't equal.
patch coming up.
Assignee | ||
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
*** Bug 126646 has been marked as a duplicate of this bug. ***
Comment 5•23 years ago
|
||
Comment on attachment 70783 [details] [diff] [review]
the fix
dammit you beat me to it! I had just fixed this when I got the bugmail!
sr=alecf of course
Attachment #70783 -
Flags: superreview+
Comment 6•23 years ago
|
||
Comment on attachment 70783 [details] [diff] [review]
the fix
r=sspitzer
Attachment #70783 -
Flags: review+
Comment 7•23 years ago
|
||
Comment on attachment 70783 [details] [diff] [review]
the fix
a=shaver for 0.9.9, etc.
Attachment #70783 -
Flags: approval+
Assignee | ||
Comment 8•23 years ago
|
||
fix checked in.
Updated•23 years ago
|
Keywords: mozilla0.9.9+
i believe this fixed bug 127134 as well?
Comment 10•23 years ago
|
||
*** Bug 127163 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
*** Bug 127134 has been marked as a duplicate of this bug. ***
Comment 12•23 years ago
|
||
*** Bug 126900 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
*** Bug 127251 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 14•23 years ago
|
||
not working in 2002022203
the fix should be in because I'm not longer getting IMAP error.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 15•23 years ago
|
||
anchors are now working again in the browser and in mailnews using 2002022203
bits. Let's track any different issues you are having in a new bug.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 16•23 years ago
|
||
defined working in mail&news?
clicking on a IMAP link in a HTML mail like:
imap://hege@tarkin.int.tele.dk:143/fetch%3EUID%3E/INBOX/projects/test%3E4#afsnit-2
does nothing...
Assignee | ||
Comment 17•23 years ago
|
||
I define working as in: clicking on a link an html message which refers to an
anchor in that message. Same test case but in the browser too. In the browser
clicking on an anchor url did not scroll directly to the anchor. I took over
this bug to fix broken anchors for mail and the browser.
It was broken in yesterdays bits and this patch fixed it. We properly scroll to
that anchor again for both the mail and the browser case.
Reporter | ||
Comment 18•23 years ago
|
||
ok. will open new bug since it's not working in my HTML mail...
Status: RESOLVED → VERIFIED
Comment 19•23 years ago
|
||
*** Bug 127169 has been marked as a duplicate of this bug. ***
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
•