Summary: | mailto links only read up to first hash (#) symbol | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Thomas Moschny <thomas.moschny> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aalexandera, jos, kdenis, kollix |
Priority: | NOR | ||
Version: | 5.16.3 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/messagelib/commit/6c4fd41ee3ffc5227f805d65091775d556486aef | Version Fixed In: | 5.17.2 |
Sentry Crash Report: |
Description
Thomas Moschny
2009-09-04 19:05:25 UTC
Clicking on a mailto: URL is a problem within konqueror/KHTML and not in kmail (hovering over such a link does already not show the # character in the statusbar) Reassigning. I have this problem not only in Konqueror. It happens also in Chrome and firefox now. The link, which I used: mailto:?subject=Empfohlene%20Fahrt&body=https://www3.vvs.de/mng/#!/XSLT_TRIP_REQUEST2@details?language=de&deeplink={**dateTime**:{**date**:**09.09.2018**,**dateFormat**:****,**time**:**11:46**,**timeFormat**:****,**useRealTime**:true,**isDeparture**:true,**timeCut**:[**01:00**,**04:00**],**timeCutInterval**:1},**via**:{**optionsList**:[],**optionsListItem**:{**type**:**any**,**dwellTime**:null,**enabled**:true}},**odvs**:{**orig**:**de:08118:1402**,**dest**:**de:08117:3251**}} An escaping problem also occurs with '&' in subject or body. kmail 'mailto:team@example.com?subject=A%26B&body=D%26C' gives Subject: A Body: D&c= but it should be: Subject: A&B Body: D&C This happens in KMail Version 5.15.2 (20.08.2) This bug is still present in KMail version 5.16.3 (20.12.3) I tested with the command from Comment 3. https://bugs.kde.org/show_bug.cgi?id=206269#c3 Assigning back to KMail because a comment points out that the bug is there with an easy way to reproduce the problem. Git commit 6c4fd41ee3ffc5227f805d65091775d556486aef by Laurent Montel. Committed on 15/05/2021 at 07:05. Pushed by mlaurent into branch 'release/21.04'. Fix bug 206269 "An escaping problem also occurs with '&' in subject or body." FIXED-IN: 5.17.2 M +14 -0 messagecore/autotests/stringutiltest.cpp M +1 -0 messagecore/autotests/stringutiltest.h M +10 -5 messagecore/src/utils/stringutil.cpp https://invent.kde.org/pim/messagelib/commit/6c4fd41ee3ffc5227f805d65091775d556486aef |