Bug 409645 - kmail prepends file:///%09 in front of copied links preceded by whitespace
Summary: kmail prepends file:///%09 in front of copied links preceded by whitespace
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.10.3
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-09 10:20 UTC by Erik Quaeghebeur
Modified: 2019-07-09 10:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2019-07-09 10:20:10 UTC
SUMMARY
When in an html email a link in a href field is preceded by whitespace (tab, perhaps other), then the copied link is preceded by file:///%09. This issue may be restricted to quoted-printable encoded messages, where a tab is =09.

Example (QP):

<a href=3D"=09https://some.example.net/xyz/pu=
blic/apple/reservations?unid=3De6ca8cc008bd480eb216f94aba4f95aa=09" style=
=3D"color: rgb(0, 85, 170); text-decoration: none;"><span style=3D"text-ali=
gn: right; color: rgb(255, 255, 255); font-size: 18px; text-decoration: non=
e;">Option A1234 5678</span> </a>

Result after copying link using the right-click menu:

file:///%09https://some.example.net/xyz/public/apple/reservations?unid=e6ca8cc008bd480eb216f94aba4f95aa

This may be an error on the part of the html-producers, but it would be nice if kmail were robust against such issues.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3