GNOME Bugzilla – Bug 494315
HREF attributes do not decode ampersand entity properly
Last modified: 2017-02-09 13:39:49 UTC
Please describe the problem: Many sources claim that ampersands that are part of a query parameter should be proper HTML / XHTML entities. And indeed, Firefox and IE appear to handle this properly, but GTKHTML does not. Steps to reproduce: <a href="http://www.example.com/example.php?param1=joe&param2=fred">www.example.com</a> Actual results: gtkhtml sends it with & intact, messing everything up. Expected results: This should be sent to the web server as example.php?param1=joe¶m2=fred Does this happen every time? Yes Other information:
This appears to work correclty for me in testgtkhtml. It sounds like you are escaping the URL in your code, and then not unescaping it when you send it to the server.
I did forget to mention that I'm using version 3.16.1, not the latest test version. I'm using it built into Evolution. I send myself an email containing a link as in the example, and the webserver gets the & instead of the &. So, are you saying it is a Evolution bug?
That is not gtkhtml2. It is gtkhtml.
D'oh! Thanks. Sorry.
*** Bug 534730 has been marked as a duplicate of this bug. ***
Might be this bug #485700, which is in since GtkHTML-3.17.1, but there were more fixes in this area, like in bug #563867, which is about evolution 2.25.5.
*** Bug 542007 has been marked as a duplicate of this bug. ***
*** Bug 488348 has been marked as a duplicate of this bug. ***
GtkHtml is not under active development anymore. Evolution (its main consumer) switched to a WebKit backend a while ago. It is currently unlikely that there will be any further GtkHtml development. Closing this report as WONTFIX as part of Bugzilla Housekeeping (bug 778387) to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.