Summary: | Subject left in body when both body and subject links are present in mailto link | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Marcin Kasperski <Marcin.Kasperski> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | alan.braslau |
Priority: | NOR | ||
Version: | 1.8.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Marcin Kasperski
2005-11-29 18:46:33 UTC
Looks like this bug is still alive and kicking. Fixing it should be easy. KMail is BTW the only MUA not correctly handling mailto-URLs. Thunderbird, Mozilla, Sylpheed, Mutt, ... have no problems with URL's like that. I think that the problem with this bug is that it seems to work correctly when using Konqueror, but it fails when using Firefox. The easiest way to reproduce and find a fix is by typing in a terminal: kmail --composer "mailto:mail@example.com?subject=foosubject&body=foobody" You'll see an empty subject and body. But ff you change kmail for thunderbird or sylpheed (and have these programs installed, obviously), you'll see it works correctly. Another interesting thing is, if I change "&" by "?" on the second parameter, kmail's composer window pops up with expected To (chess@e4ec.org), *empty* subject and body containing line (text below is in single line. For instance: <a href="mailto:chess@e4ec.org?body=Help Challenge?subject=How to use the Challenge command">Help Challenge</a> kmail version 1.10.4 My company's antispam filter sends me quarantine notices in HTML with links to release individual messages, such as: <a href="mailto:pmx-auto-approve%2b71c406ecdca9004ea1e280082f68d7f6@server.domaine?subject=Release%20message%20from%20quarantine&body=[%23y6nRYw-3]">[#y6nRYw-3]</a> (in this example, server.domaine has been changed) kmail opens a composer window with the correct address, but the subject is set as: "Release message from quarantine&body=[%23y6nRYw-3]" and the body, of course, is empty... SVN commit 915697 by tmcguire: Make mailto links which include body and subject work correctly again. BUG: 108974 BUG: 117293 M +9 -18 kmcommands.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=915697 SVN commit 918210 by tmcguire: Backport r915697 by tmcguire from trunk to the 4.2 branch: Make mailto links which include body and subject work correctly again. CCBUG: 108974 CCBUG: 117293 M +9 -18 kmcommands.cpp M +46 -18 messagelistview/core/sortorder.cpp M +5 -1 messagelistview/core/sortorder.h M +1 -1 messagelistview/core/widgetbase.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=918210 |