GNOME Bugzilla – Bug 567697
Plain text emails render links with ampersand characters stripped out
Last modified: 2012-08-07 12:48:46 UTC
Please describe the problem: I've got many examples of emails on my system which contain http:// links with query strings in them, such as links to bugs etc.. When rendered the & characters are missing - although if you view the message source, they are present. For example: https://sourceforge.net/tracker/?func=detail&atid=818429&aid=2504418&group_id=161080 Gets rendered as: https://sourceforge.net/tracker/?func=detailatid=818429aid=2504418group_id=161080 (And the clickable link is of course broken) Steps to reproduce: Email yourself a link with & in the query string Actual results: & is removed when rendered Expected results: & is not removed Does this happen every time? Yes (although I've only got plain text emails here to test with) Other information:
I tried to reproduced on evolution 2.24.3, but it seems to work for me. Can anyone try to do some tests? Thanks Luca
*** Bug 556456 has been marked as a duplicate of this bug. ***
This seems to be happenein on Evolution 2.22.2 so setting this version. several people mailed bugmaster@gnome.org about this problem.
In message source I get a valid link, in rendered email I get a link with "&" removed. I'm using version 2.24.2, kernel 2.6.28, Ubuntu 9.04 alpha.
Confirmed with current SVN version of 2.25 branch : Evolution 2.25.5 Particularly irritating since it breaks the bugzilla subscribe URL...
Confirming bug on evolution-2.25.4 and also on some old 2.24.2 ? (have to look at home).
In 2.24.3 I don't have this problem.. Can someone with this version give a try? thanks Luca
The actual trunk has this issue, but when reverting to version before a patch in bug #552357 (for GtkHTML), then it works as expected. Thus it should work fine even in 2.24.3. I tried to go back in GtkHTML to time of 2008-06-xx, and it works there fine for me too. I didn't try to move more back though.
Please, someone test patch in bug #552357(process entity error solution) - may be resolve this bug. Thanks.
Created attachment 127083 [details] Denis' patch from bug #552357 Thanks for a quick response, Denis. I tested it and it fixed the issue with actual trunk. I'm going to commit it. Attaching patch here too, because it belongs here.
Committed to trunk. Committed revision 9115. I saw also Evolution version 2.24.2, where this works fine. Thus it should be fixed there too. Please reopen when you think it isn't.
Why are entities being expanded in plain text emails anyway?
Hi we get seeveral people a week mailing bugmaster@gnome.org because they were affected by stripped ampersands, thus having problems changing email addresses etc. Some of them are actually using Evolution 2.24.3 ! Milan it looks like you may need to fix 2.24.3, too.
i have same problem in evolution 2.24.3 i cannot accept new e-mail, but i use webmail client bugzilla confirm link http://bugzilla.gnome.org/token.cgi?t=W5H5jxJ0Gc
OK, I tried with actual sources from gnome-2-24 branch, stating 2.24.4 (not release yet) version, and I do not see that on my bugzilla mails with URLs containing ampersands, thus I suppose it's content dependant. Can any user of 2.24.3 attach here a test message, with stripped confidential/private information, please, to give me some hints on reproducibility? Thanks in advance. (And reopening bug for 2.24.3)
Created attachment 127259 [details] Test email
Seriously though, arent &...; type entities a feature of HTML email? Why are they even being processed for plain text mail?
Strange. I imported your test mail (thanks for it) to my local Inbox, and it shows correctly in 2.24.3 (evolution-data-server-2.24.3-1.fc10.i386, evolution-2.24.3-1.fc10.i386, gtkhtml3-3.24.3-1.fc10). I also tried to play with prefer-plain, but it doesn't seem to have any impact on a message preview under message list (with respect to amps there). It shows correctly in 2.25.6, which I hope is fine, but because I cannot reproduce even on yours 2.24.3, then I'm not as much sure. (In reply to comment #17) > Why are they even being processed for plain text mail? That all is show in GtkHTML, which is naturally an HTML viewer/editor. There's either a bug about replacing '&' with '&' somewhere, or something similar. Hard to say at the moment, when I cannot reproduce it. I hope I'm trying with correct versions, right?
I'm running the development version of Ubuntu, Ubuntu Jaunty. Evolution 2.24.3 Gnome is claiming 2.25.5 checking ldd `which evolution` | grep html: libgtkhtml-editor.so.0 => /usr/lib/libgtkhtml-editor.so.0 (0xb7d8c000) libgtkhtml-3.14.so.19 => /usr/lib/libgtkhtml-3.14.so.19 (0xb7683000) dpkg-query -S /usr/lib/libgtkhtml-3.14.so.19.1.0 libgtkhtml3.14-19: /usr/lib/libgtkhtml-3.14.so.19.1.0 dpkg-query -W libgtkhtml3.14-19 libgtkhtml3.14-19 1:3.25.5-0ubuntu1 I hope that information is of some help.
Thanks Peter, it does indeed help. libgtkhtml3.14-19 was updated last week for Jaunty, to 1:3.25.5-0ubuntu1. Milan's patch only made it to trunk on Jan 23rd, so... this issue is present on current Jaunty. This should get resolved on the next upgrade (probably to 2.25.90). Previous version for this package is in intrepid-updates, 1:3.24.1.1-oubuntu1, which also seems to have the same bug.
any news here? Does it work on 2.26.1?
It works correctly in 2.26.2 and 2.27.2. Closing this as OBSOLETE.