Bug 145190 - A sender with , in his name is parsed as two senders
Summary: A sender with , in his name is parsed as two senders
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-08 17:28 UTC by Peter Thomassen
Modified: 2007-05-08 21:42 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 Peter Thomassen 2007-05-08 17:28:22 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages

When I receive a message with a header line of the following form,

    From: =?iso-8859-1?Q?Lastname=2C_Firstname?= <some@example.com>

this is parsed as:

    From: Lastname, Firstname <some@example.com>

at the top of the message. Both "Lastname" and "Firstname <some@example.com>" are clickable as if the message came from two senders. When replying, the message is tried to be send to some@example.com AND to lastname@localhost.
Comment 1 Christian Schaarschmidt 2007-05-08 18:56:13 UTC
according to RFC2822 Section 3.4 this is the correct behavior. As a workaround you can place the name in quotes when you reply

From: "Lastname, Firstname" <some at example.com>
Comment 2 Christian Schaarschmidt 2007-05-08 18:58:53 UTC
aehm, sorry. In the reply-msg it should be:

TO: "Lastname, Firstname" <some at example.com> 
Comment 3 Peter Thomassen 2007-05-08 21:42:38 UTC
Indeed, I just saw that a list of several senders is allowed for the From: header. I thought this wasn't possible. Then, of course, I'm closing the bug ... and I am annoyed at those bad clients people use to contact me :-)