[Evolution] Bug#324820: evolution fails to decode and encode mime message headers (rfc2047)

Marc Lehmann debian-reportbug at plan9.de
Wed Aug 24 08:33:04 UTC 2005


Package: evolution
Version: 2.2.3-2
Severity: normal


When I start evolution with a mailto url (as might happen when it is
started by a program sucha s mozilla when clicking on mailto urls),
evolution fails to decode the url correctly and also fails to _encode_ the
header on send.

Example:

evolution "mailto:chicia at sathoid.com?Subject=%3D%3Fiso-8859-1%3Fq%3FTest%3D20%3DFC%3DF6%3DE4%3D20hal%3F%3D%0D%0A%09%3D%3Fiso-8859-1%3Fq%3Fl%3DF6chen%3D3F%3D20oi%3D20yes%3D3F%3D20[Ticket%3D20103]%3F%3D"

This is simply a mailto: url for chicia at sathoid.com with a subject of 
"Test üöä hallöchen? oi yes?"

Then evolution fails to decode the Subject header, and presents me with a
subject of (verbatim):

=?iso-8859-1?q?Test=20=FC=F6=E4=20hal?=
   	=?iso-8859-1?q?l=F6chen=3F=20oi=20yes=3F=20[Ticket=20103]?=

The two components are separated by \015\012\011, CRLF-Tab. The tab
is displayed as a space, while CRLF are displayed as boxed "0D" "0A"
characters (i.e. verbatim CRLF as displayed by pango).

When sending the mail, evolution fails to _encode_ the header
correctly. The mail looks like this:

Mime-Version: 1.0
Subject: =?iso-8859-1?q?Test=20=FC=F6=E4=20hal?=
	=?iso-8859-1?q?l=F6chen=3F=20oi=20yes=3F=20[Ticket=20103]?=

That is, the subject line is copied verbatim into the RFC message,
including the control characters.  Unfortunately, as the header happens to
be a valid mime header, any receiving program will correctly decode the
message header and end up with "Test üöä hallöchen? oi yes?", which is
not the content of the Subject field upon sending the mail.

So evolution fails to correctly "escape" at least the subject mail header
when sending mime mails.

I've got to say that this is the firts case of two mostly unrelated bugs
that cancel each other out, except for a display problem :)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages evolution depends on:
ii  evolution-data-serv 1.2.3-2              evolution database backend server
ii  gconf2              2.10.1-1             GNOME configuration database syste
ii  gnome-icon-theme    2.10.1-2             GNOME Desktop icon theme
ii  gtkhtml3.6          3.6.2-1              HTML rendering/editing library - b
ii  libart-2.0-2        2.3.17-1             Library of functions for 2D graphi
ii  libatk1.0-0         1.10.1-2             The ATK accessibility toolkit
ii  libaudiofile0       0.2.6-6              Open-source version of SGI's audio
ii  libbonobo2-0        2.10.0-1             Bonobo CORBA interfaces library
ii  libbonoboui2-0      2.10.0-1             The Bonobo UI library
hi  libc6               2.3.5-4              GNU C Library: Shared libraries an
ii  libcamel1.2-0       1.2.3-2              The Evolution MIME message handlin
ii  libcomerr2          1.38-2               common error description library
ii  libcompfaceg1       1989.11.11-24        Compress/decompress images for mai
ii  libdb4.1            4.1.25-18            Berkeley v4.1 Database Libraries [
ii  libebook1.2-3       1.2.3-2              Client library for evolution addre
ii  libecal1.2-2        1.2.3-2              Client library for evolution calen
ii  libedataserver1.2-4 1.2.3-2              Utily library for evolution data s
ii  libedataserverui1.2 1.2.3-2              GUI utily library for evolution da
ii  libesd0             0.2.36-1             Enlightened Sound Daemon - Shared 
ii  libfontconfig1      2.3.2-1              generic font configuration library
hi  libfreetype6        2.1.7-2.2            FreeType 2 font engine, shared lib
ii  libgail-common      1.8.4-1              GNOME Accessibility Implementation
ii  libgail17           1.8.4-1              GNOME Accessibility Implementation
ii  libgal2.4-0         2.4.3-1              G App Libs (run time library)
ii  libgal2.4-common    2.4.3-1              G App Libs (common files)
ii  libgconf2-4         2.10.1-1             GNOME configuration database syste
ii  libgcrypt11         1.2.1-4              LGPL Crypto library - runtime libr
ii  libglade2-0         1:2.5.1-2            library to load .glade files at ru
ii  libglib2.0-0        2.8.0-1              The GLib library of C routines
ii  libgnome-keyring0   0.4.3-1              GNOME keyring services library
ii  libgnome-pilot2     2.0.12-1.3           Support libraries for gnome-pilot
ii  libgnome2-0         2.10.1-1             The GNOME 2 library - runtime file
ii  libgnomecanvas2-0   2.10.2-2             A powerful object-oriented display
ii  libgnomeprint2.2-0  2.10.3-2             The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2- 2.10.2-2             GNOME 2.2 print architecture User 
ii  libgnomeui-0        2.10.1-1             The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0      2.10.1-5             The GNOME virtual file-system libr
ii  libgnutls11         1.0.16-13.1          GNU TLS library - runtime library
ii  libgpg-error0       1.1-4                library for common error values an
ii  libgtk2.0-0         2.6.9-1              The GTK+ graphical user interface 
ii  libgtkhtml3.6-18    3.6.2-1              HTML rendering/editing library - r
ii  libice6             6.8.2.dfsg.1-5       Inter-Client Exchange library
ii  libjpeg62           6b-10                The Independent JPEG Group's JPEG 
ii  libkrb53            1.3.6-4              MIT Kerberos runtime libraries
ii  libldap2            2.1.30-11            OpenLDAP libraries
ii  libnspr4            2:1.7.8-1            Netscape Portable Runtime Library
ii  libnss3             2:1.7.8-1            Network Security Service Libraries
ii  liborbit2           1:2.12.2-3           libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0       1.8.2-1              Layout and rendering of internatio
ii  libpisock8          0.11.8-12            Library for communicating with a P
ii  libpisync0          0.11.8-0.12.0-pre4-1 synchronization library for PalmOS
ii  libpopt0            1.7-5                lib for parsing cmdline parameters
ii  libsm6              6.8.2.dfsg.1-5       X Window System Session Management
ii  libsoup2.2-7        2.2.3-2              an HTTP library implementation in 
ii  libtasn1-2          0.2.13-1             Manage ASN.1 structures (runtime)
ii  libx11-6            6.8.2.dfsg.1-5       X Window System protocol client li
ii  libxml2             2.6.20-1             GNOME XML library
ii  xlibs               6.8.2.dfsg.1-5       X Window System client libraries m
ii  zlib1g              1:1.2.3-3            compression library - runtime

Versions of packages evolution recommends:
pn  evolution-plugins             <none>     (no description available)
ii  gnome-desktop-data            2.10.2-1   Common files for GNOME 2 desktop a
pn  gnome-pilot-conduits          <none>     (no description available)
ii  mozilla-psm                   2:1.7.8-1  The Mozilla Internet application s
pn  spamassassin                  <none>     (no description available)

-- no debconf information




More information about the Pkg-evolution-maintainers mailing list