Public bug reported:

Binary package hint: evolution

Ubuntu 9.04 x86_64
Evolution 2.26.1-0ubuntu2

The bug title says it all.

If I type (or paste) a link like this -
http://java.sun.com/javase/6/docs/api/java/lang/Runtime.html#exit(int) -
into a mail and I hit space after the link, Evolution will convert the
text to a hyperlink and when I send the mail the recipient will receive
it correctly. When the recipient clicks the link, their browser will
open the Runtime.html page and will jump to the exit(int) section in the
page correctly. The "#exit(int)" part of the URL is an html anchor which
tells the browser where to jump to in the target page.

However let's say I want the display text of the link in my mail to be
different from the associated url. Say I write to a colleague "see this
method for details" and I want <this method> to be underlined as a
hyperlink to the full url above. I type my message as normal, then I
highlight <this method> with the mouse and I click "Insert" menu ->
"Link..." and it prompts me for the url. I paste the full url including
the anchor and click close. Everything looks fine so I send the mail.

Then my colleague asks me which section in the page I was talking about.
Evolution has stripped the "#exit(int)" anchor part from the url. When I
view the source of the mail I sent in my Sent folder, I see that
Evolution seems to have stripped the anchor from the link before even
sending it.

Evolution silently strips html anchors from links in outgoing mails,
when the display text of the link differs from the url.

As you might have guessed I'm a Java developer and my colleagues are
Java deveopers and this issue comes up all the time. It's really
annoying. I think it should be marked urgent. HTML anchors are of course
part of the HTML spec since the beginning, so Evolution should support
them.

To be honest, there must be some code in Evolution which is responsible
for "transforming" links like this. This code should throw an exception
on encountering content it can't handle, rather than skipping the
content. I would rather see an error message or even have Evolution
crash, than have Evolution silently corrupt my outgoing mails.

** Affects: evolution (Ubuntu)
     Importance: Undecided
         Status: New

-- 
evolution strips html anchors from links in outgoing mails
https://bugs.launchpad.net/bugs/422719
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to