GNOME Bugzilla – Bug 431190
Internal hyperlinks (anchors) in email don't work
Last modified: 2008-10-31 22:10:14 UTC
Please describe the problem: I hope I've posted this bug in the right place: I'm a Linux baby-stepper so I guessed through some of the filter questions to get me to here. So if this is the wrong place for this bug please move it. Running Evolution 2.8.1, Gnome 2.16.1, on Ubuntu 6.10. Internal hyperlinks in email don't work. For example an email with <a href="#specials"&lgt;wonderful specials</a&lgt; will not jump to <a name="specials"&lgt;</a&lgt;. Steps to reproduce: 1. Create an email with internal hyperlinks 2. send it to Evolution 2.8.1 running Gnome 2.16.1 3. Click on the internal hyperlink and nothing happens Actual results: nothing. Expected results: internal links should jump to the anchor Does this happen every time? yes Other information: I found with previous bug reports you were very helpful in addressing bug issues. I do not know if you liaise with Launchpad or are totally separate but this bug is reported on https://bugs.launchpad.net/evolution/+bug/3546 also but it appears to be unresolved at present.
*** Bug 436477 has been marked as a duplicate of this bug. ***
*** Bug 462086 has been marked as a duplicate of this bug. ***
*** Bug 493383 has been marked as a duplicate of this bug. ***
Bug is reproducible: internal links do not work on Evolution- Any planned fix?
(In reply to comment #4) > Bug is reproducible: internal links do not work on Evolution- > > Any planned fix? > It's ok now, just an option i fotget. thank you miguel. bye.
(In reply to comment #5) > (In reply to comment #4) > > Bug is reproducible: internal links do not work on Evolution- > > > > Any planned fix? > > > > It's ok now, just an option i fotget. > thank you miguel. > bye. > Is it? Internal links of the form #1 don't work on 2.12.1...
I'm now currently running Evolution 2.10.1 Gnome 2.18.1 Ubuntu 7.04 and internal anchor links still do not work. I thought I should mention something for the developer to consider here: When this bug is fixed, it would be good if there was a built-in on/off option for this function (maybe like the ctrl+i load images option) due to the security problems of links in html spam emails.
http://bugzilla.gnome.org/show_bug.cgi?id=436477 has a sample mail attached.
Created attachment 102906 [details] [review] proposed gtkhtml patch for gtkhtml; It didn't look for anchors in IFAME, so it failed. I fixed it for FRAME too. There is one possible issue here, if you have more emails attached with same anchor name and shown in one view, then it will always found the first of the anchors, regardless in which mail you'll click. It will probably involves some changes in Evolution itself too, to fix this (but I'm just guessing now).
Oh Milan, it so awesome. Don't bother about the other thing IMO.
Committed to trunk. Committed revision 8690. OK, I do not bother, just remember it as a known possible "issue". We can improve it in case someone will find it ;)
*** Bug 205233 has been marked as a duplicate of this bug. ***
Does the solution work regardless of the name of the links? I received an email with links in the format #article1, #article2..., and these internal links do not work. Running Evolution 2.22.3.1
Yes, the name is irrelevant. Could you attach your test mail, please? The best as "Save as" from Evolution, and stripping the private/sensitive data from there. Thanks in advance.
Created attachment 121755 [details] Test email with non-working links I attach the email with non-working internal links.
Thanks for the quick reply. The problem with your mail is that it's wrongly formatted. There are missing <A name="articleX"></A> tags, which means Evolution (and any other HTML renderer, like Fire Fox) doesn't know where to jump. If I add the "<A name="article1"></A>" (quotes for clarity only) on line 376, column 93 (just before "<font color=...") and import it back to evolution, then the first link works as expected.