After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 112442 - Encoded header isn't decoded properly
Encoded header isn't decoded properly
Status: RESOLVED DUPLICATE of bug 116269
Product: Pan
Classification: Other
Component: general
pre-0.14.0 betas
Other Windows
: Normal normal
: bluesky
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2003-05-06 22:19 UTC by Alexander Skwar
Modified: 2006-06-18 05:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Skwar 2003-05-06 22:19:52 UTC
Sometimes, encoded header lines aren't decoded properly.  Eg. the following
article (just the headers):

Path:
uni-berlin.de!fu-berlin.de!news.bnc.net!news.t-online.com!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: "Axel Hoffmann" <allmann.tv@web.de>
Newsgroups: de.comp.os.unix.networking.samba
Subject:
=?iso-8859-1?Q?=22SuSE_Linux_8.1_Professional=22_USER_automatisch_von_Lin?=
	=?iso-8859-1?Q?ux_mit_Passwort_in_Samba_=FCbertragen?=
Date: Sun, 4 May 2003 01:05:47 +0200
Organization: T-Online
Lines: 14
Message-ID: <b91i03$bdo$00$1@news.t-online.com>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1052003140 00 11704 3ZwME82TSyA8CR 030503 23:05:40
X-Complaints-To: abuse@t-online.com
X-ID: rqH-5EZQYehtMjs3HmH9TOX3gXAiHFQNlN9Hul4ZsL+oCSXzXdSnwX
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Xref: uni-berlin.de de.comp.os.unix.networking.samba:16182


Pan 0.13.95 on Windows displays the subject as:

=?iso-8859-1?Q?=22SuSE_Linux_8.1_Professional=22_USER_automatisch_von_Lin?=	ux
mit Passwort in Samba übertragen

So it seems that it failed to decode the 1st subject line.  I also noticed
this problem with old (0.11.x?) builds on Linux.
Comment 1 Christophe Lambin 2003-05-09 20:44:10 UTC
This is because the headers aren't encoded correctly to begin with:
colons are not allowed in encoded strings.

Supporting this will require a sync w/ GMime 2.1, which is less strict
in this respect (see bug #108557).
Comment 2 Christophe Lambin 2003-05-09 21:24:27 UTC
Did I say 'colons'? Of course, I meant 'dots'. :)
Comment 3 Christophe Lambin 2003-07-21 22:40:05 UTC

*** This bug has been marked as a duplicate of 116269 ***