[kmail2] [Bug 465601] New: mailto URL does not allow a body with line breaks
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sat Feb 11 22:44:59 GMT 2023
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: kdepim-bugs at kde.org
Reporter: theodor-andreas.boerner at gmx.de
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:test at test.com?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:test at test.com?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.
More information about the Kdepim-bugs
mailing list