[Users] [Bug 2602] New: Claws-Mail creates forbidden From:-headers (encoding inside of quotes)

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sun Feb 12 13:18:12 CET 2012


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2602

           Summary: Claws-Mail creates forbidden From:-headers (encoding
                    inside of quotes)
           Product: Claws Mail
           Version: 3.7.10
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
        AssignedTo: users at lists.claws-mail.org
        ReportedBy: herzelino at googlemail.com


Sylpheed produces forbidden code in the From:-header. I think it concerns all
versions of Claws-Mail and Sylpheed. Here's an example:

> From: "Wilhelm C. =?ISO-8859-1?Q?Sch=FCtze?=" <wil.c at web.de>
> Newsgroups: de.comm.software.newsreader
> Subject: Sylpheed kein (Sende-) Datum
> X-Newsreader: Sylpheed 3.1.2 (GTK+ 2.24.6; i386-portbld-freebsd9.0)
> Mime-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
>
> Hi, ...

[<jgutir$103$2 at news.albasani.net>]


Sylpheed puts the name in double quotes and encodes the non-ASCII character
"ΓΌ" (ISO-8859-1 FCh) inside the quotes. That is a violation of RFC 2047. RFC
2047 part 5 (3) says:

   + [...]
   + An 'encoded-word' MUST NOT appear within a 'quoted-string'.



I think the use of double quotes in the From:-header is not a good idea.

RFC 5322 part 3.2.4 reads:

Quoted Strings

   Strings of characters that include characters other than those
   allowed in atoms can be represented in a quoted string format, where
   the characters are surrounded by quote (DQUOTE, ASCII value 34)
   characters.


But there is a limitation in RFC 5322 part 2.1

 Note: This document specifies that messages are made up of
      characters in the US-ASCII range of 1 through 127.  There are
      other documents, specifically the MIME document series ([RFC2045],
      [RFC2046], [RFC2047], [RFC2049], [RFC4288], [RFC4289]), that
      extend this specification to allow for values outside of that
      range.  Discussion of those mechanisms is not within the scope of
      this specification.


That means you cannot use ASCII-characters > 127 in the From:-header. So there
is no reason working with double quotes.


Watch this too:
http://forums.mozillazine.org/viewtopic.php?t=318281

-- 
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Users mailing list