Bug#415454: does not correctly hande mailto-links (subject and body are discarded)
Package: kmail
Version: 4:3.5.5.dfsg.1-6
Severity: normal
--- Please enter the report below this line. ---
Virtually every mail client I've tested accepts an URL in
rfc2368-conform mailto format like
mailto:mail@example.com?subject=foosu&body=foobody
Kmail silently drops the subject and the body part. Only using the
actual address.
I've only noticed it since KMail is the only MUA with this issue, and
therefor is the only MUA not supported by reportbug-ng.
How to reproduce:
kmail --composer "mailto:mail@example.com?subject=foosu&body=foobody"
and check the subject and body of the mail.
Googling for this bug revealed this:
http://bugs.kde.org/show_bug.cgi?id=117293
Quoting from http://www.faqs.org/rfcs/rfc2368.html
4. Unsafe headers
The user agent interpreting a mailto URL SHOULD choose not to create
a message if any of the headers are considered dangerous; it may also
choose to create a message with only a subset of the headers given in
the URL. Only the Subject, Keywords, and Body headers are believed
to be both safe and useful.
The creator of a mailto URL cannot expect the resolver of a URL to
understand more than the "subject" and "body" headers. Clients that
resolve mailto URLs into mail messages should be able to correctly
create RFC 822-compliant mail messages using the "subject" and "body"
headers.
Cheers,
Bastian
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.18-4-k7
Debian Release: 4.0
500 unstable www.debian-multimedia.org
500 unstable ftp.de.debian.org
1 experimental ftp.de.debian.org
--- Package information. ---
Depends (Version) | Installed
==================================================-+-=========================
kdelibs4c2a (>= 4:3.5.5-1) | 4:3.5.5a.dfsg.1-6
libart-2.0-2 (>= 2.3.16) | 2.3.17-1
libaudio2 | 1.8-3
libc6 (>= 2.3.6-6) | 2.3.6.ds1-13
libfontconfig1 (>= 2.4.0) | 2.4.2-1.2
libfreetype6 (>= 2.2) | 2.2.1-5
libgcc1 (>= 1:4.1.1-12) | 1:4.1.1-21
libice6 (>= 1:1.0.0) | 1:1.0.1-2
libidn11 (>= 0.5.18) | 0.6.5-1
libjpeg62 | 6b-13
libkcal2b (>= 4:3.5.5) | 4:3.5.5.dfsg.1-6
libkdepim1a (>= 4:3.5.5) | 4:3.5.5.dfsg.1-6
libkleopatra1 (>= 4:3.5.5) | 4:3.5.5.dfsg.1-6
libkmime2 (>= 4:3.5.5) | 4:3.5.5.dfsg.1-6
libkpimidentities1 (>= 4:3.5.5) | 4:3.5.5.dfsg.1-6
libksieve0 (>= 4:3.5.5) | 4:3.5.5.dfsg.1-6
libmimelib1c2a (>= 4:3.5.5) | 4:3.5.5.dfsg.1-6
libpng12-0 (>= 1.2.13-4) | 1.2.15~beta5-1
libqt3-mt (>= 3:3.3.7) | 3:3.3.7-3
libsm6 | 1:1.0.1-3
libstdc++6 (>= 4.1.1-12) | 4.1.1-21
libx11-6 | 2:1.0.3-6
libxcursor1 (>> 1.1.2) | 1.1.7-4
libxext6 | 1:1.0.1-2
libxft2 (>> 2.1.1) | 2.1.8.2-8
libxi6 | 1:1.0.1-4
libxinerama1 | 1:1.0.1-4.1
libxrandr2 | 2:1.1.0.2-5
libxrender1 | 1:0.9.1-3
libxt6 | 1:1.0.2-2
zlib1g (>= 1:1.2.1) | 1:1.2.3-13
perl | 5.8.8-7
kdepim-kio-plugins | 4:3.5.5.dfsg.1-6
kdebase-kio-plugins | 4:3.5.5a.dfsg.1-6
--
Bastian Venthur http://venthur.de
Debian Developer venthur at debian org
Reply to: