Version: (using KDE 4.3.2) OS: Linux Installed from: Debian testing/unstable Packages Looks like Kmail is changing & to & in plain text emails. The link is clickable and the correct URL is use (the one with &). But i need to cut and paste this URL into Firefox. The displayed version shows &s;. If you put & in the location bar, the query string parameters are not separated correctly. Content-Type: text/plain; charset=UTF-8 View source has: https://green-site/?Ticket=85&Page=next But the URL that is displays is: https://green-site/?Ticket=85&Page=next Viewing the source code a little, it seems odd to me that a function called ObjectTreeParser::processTextPlainSubtype(...) is calling quoteHtmlChars() which does this: case '&': result += "&";
This problem also occurs in KNode. Is this some library bug then?
I can confirm that 4.4RC2 kmail is also affected. It changed URL: https://sourceforge.net/tracker/?func=detail&atid=377408&aid=2936156&group_id=23067 to https://sourceforge.net/tracker/?func=detail&atid=377408&aid=2936156&group_id=23067 when displaying email content.
knode from 4.4rc2 is also affected
This sounds like a bug in KPIMUtils::LinkLocator to me.
SVN commit 1085498 by tnyblom: Don't double escape "&". BUG: 211128 M +0 -1 linklocator.cpp M +4 -0 tests/testlinklocator.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1085498