https://bugs.kde.org/show_bug.cgi?id=465601
Bug ID: 465601
Summary: mailto URL does not allow a body with line breaks
Classification: Applications
Product: kmail2
Version: 5.22.0
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: composer
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
I expected that clicking on a mailto-link like the following inside kmails
message viewer will open a message composer with a two lines message:
mailto:[email protected]?subject=test&body=line1%0D%0Aline2
However all the newlines are replaced by spaces.
***
STEPS TO REPRODUCE
1. Create an email that contains the above mailto-link. The link can be as text
or within <a href=></a> in an html mail.
2. Open the mail with kmails message viewer.
3. Click on the link.
OBSERVED RESULT
A composer opens with the text: "line1 line2"
EXPECTED RESULT
A composer should open with the text: "line1
line2"
SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
ADDITIONAL INFORMATION
Running
kmail "mailto:[email protected]?subject=test&body=line1%0D%0Aline2"
shows the expected behaviour, as well as clicking a mailto-link inside a
browser.
--
You are receiving this mail because:
You are the assignee for the bug.