Bug 210283 - mailto links get cut off at ampersand when opened with Konqueror and kde-open
Summary: mailto links get cut off at ampersand when opened with Konqueror and kde-open
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 09:36 UTC by Patrick
Modified: 2011-01-05 17:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2009-10-12 09:36:06 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Gentoo Packages

When opening mailto links that contain an ampersand in the body value, like

<a href="mailto:someone@example.com?subject=Test&body=Hi%2C%0A%0Athis%20is%20a%20test%20%3Ca%20href%3D%22https%3A%2F%2Fwww.example.com%2Fetc%3FParam1%3D123%26Param2%3Dabc%22%3ETest%20URL%3C%2Fa%3E.%0A%0AThanks.">Mailto link</a>

the pre-written mail body in the mail application that opens is cut off at the ampersand.

While the mail composer window should contain

-------
Hi,

this is a test <a href="https://www.example.com/etc?Param1=123&Param2=abc">Test URL</a>.

Thanks.
-------

it only contains

-------
Hi,

this is a test <a href="https://www.example.com/etc?Param1=123
-------

(for a clickable mailto Link go to http://p173.de/t/mailto-test.html)

This happens both in Konqueror and when passed to kde-open (for example from Firefox). Passing the URL directly to KMail works fine.
Comment 1 Samuel Brack 2011-01-05 17:18:31 UTC
I can't reproduce it and the bug seems to be fixed. Feel free to reopen if you can still reproduce the wrong behaviour.