Bug 157961 - Production of unquoted specials in address-like headers (From/To/Cc)
Summary: Production of unquoted specials in address-like headers (From/To/Cc)
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: mime (show other bugs)
Version: 1.9.8
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-02-17 11:01 UTC by Matti Aarnio
Modified: 2009-01-04 18:38 UTC (History)
1 user (show)

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 Matti Aarnio 2008-02-17 11:01:10 UTC
Version:           KMail/1.9.7 (using KDE 3.5.8)
Installed from:    Fedora RPMs
OS:                Linux

Observed at vger.kernel.org Postmaster inspection logs of "TABOOed because of headers with errors":

 From:   Frans Pop <elendil@planet.nl>
 Illegal-Object: Syntax error in To: address found on vger.kernel.org:
        To:     David S.Miller <davem@davemloft.net>
                        ^      ^-missing end of address
                 \-extraneous tokens in address
 Subject: [2.6.25-rc2] System freezes ~1 minute after logging into KDE
 Date:   Sat, 16 Feb 2008 20:14:00 +0100
 User-Agent: KMail/1.9.7

What the KMail should have produced is:

     To:  "David S. Miller" <davem@davemloft.net>

The dot is so called special in RFC-2822 defined header syntax, and in order to have them outside actual addresses, they must be inside a quote-pair.  Meaning that whole names must be in quotes.

I do not use kde myself, but you are welcome to ask the Email Syntax Oracle about test fixes at address:

   autoanswer@vger.kernel.org

It sends back the headers of the email that you sent to it, including syntax markers.
Comment 1 Dominik Tritscher 2009-01-04 18:38:45 UTC
Just checked with kmail 1.10.3 using the above mentioned auto reply service. I added a dot in the middle of my name in the "from" field. The name is correctly enclosed in in quotes. So I mark this as fixed.