Red Hat Bugzilla – Bug 504887
Evolution converts "&" characters into "&" when copying links
Last modified: 2014-06-02 09:19:15 EDT
Description of problem:
I often receive URLs via email, e.g. when registering with websites, and these URLs sometimes contain & characters. Upon selecting the URL, copying, then pasting into firefox, the "&" characters in the URL are expanded to "&" characters, and the remote web site typically fails.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Send self an email containing a URL with a "&" character, e.g. http://example.com?val1=foo&val2=bar
2. Browse to email
3. Right-click on URL; select "Copy Link Location"
4. Paste into gedit
5. Right-click on URL; select "Open Link in Browser"
at 4: URL is pasted thus, with the "&" character corrupted to "&":
at 5: firefox opens, but to link containing "&":
Broken URL is: "http://example.com/?val1=foo&val2=bar"
For "real" URLs, this typically breaks the remote server; I've seen redirects and internal server errors from this.
URLs should be preserved at both stages 4 and 5, it should simply be the URL we started with:
Bug appears to affects the Message Preview pane and regular message windows.
However, copying from "Message Source" windows appears to give correct URLs when pasted, so this can be used as a workaround.
We finally got this fixed recently upstream. Bugs were in both Camel and GtkHtml, IIRC. Should be able to backport it.
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).