Package: mozilla-thunderbird
Version: 1.0-3
Severity: normal

Thunderbird incorrectly puts a quote into the MIME Q encoding of
the From field if the cleartext name of the user contains non-ASCII
characters.

In my specific case, I have in userprefs.js

user_pref("mail.identity.id1.fullName", "Martin v. Löwis");

(where the funny bytes are o-umlaut). Thunderburd then puts,
into the From: field

>From: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]>

As you can see, this contains =22 at its begin and its end.

According to RFC 2047 and RFC 2822, this in incorrect. RFC 2047
specifies that encoded-words are intended to be parsed as atoms.
RFC 2822 specifies that the From line is

from            =       "From:" mailbox-list CRLF
mailbox-list    =       (mailbox *("," mailbox)) / obs-mbox-list
mailbox         =       name-addr / addr-spec
name-addr       =       [display-name] angle-addr
display-name    =       phrase
phrase          =       1*word / obs-phrase
word            =       atom / quoted-string

So the display-name consist of *either* atoms or quoted strings.
For a quoted-string, the quotes are not part of the semantical
value of the word (3.2.5); for an atom, all atext characters form
the value (3.2.4). So in this From: line, my name would be
"Martin v. L�wis" (i.e. including the quotes). This is wrong,
according to my preferences, my name does not contain quotes.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages mozilla-thunderbird depends on:
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libfontconfig1           2.2.3-4         generic font configuration library
ii  libfreetype6             2.1.7-2.3       FreeType 2 font engine, shared lib
ii  libgcc1                  1:3.4.3-9       GCC support library
ii  libglib2.0-0             2.6.2-1         The GLib library of C routines
ii  libgtk2.0-0              2.6.2-3         The GTK+ graphical user interface 
ii  libpango1.0-0            1.8.0-3         Layout and rendering of internatio
ii  libstdc++5               1:3.3.5-8       The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxft2                  2.1.2-6         FreeType-based font drawing librar
ii  libxp6                   4.3.0.dfsg.1-10 X Window System printing extension
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  libxt6                   4.3.0.dfsg.1-10 X Toolkit Intrinsics
ii  xlibs                    4.3.0.dfsg.1-11 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- debconf information:
* mozilla-thunderbird/browser: Debian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to