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 116269 - Upgrade GMime version
Upgrade GMime version
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.14.0
Other All
: Normal enhancement
: 0.14.3
Assigned To: Charles Kerr
Pan QA Team
: 112442 118974 124390 308940 (view as bug list)
Depends on:
Blocks: 80358 101483 125051
 
 
Reported: 2003-06-29 16:23 UTC by Toni Willberg
Modified: 2006-05-04 17:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
updated-gmime.patch (404.99 KB, patch)
2004-06-07 06:15 UTC, Jeffrey Stedfast
none Details | Review

Description Toni Willberg 2003-06-29 16:23:41 UTC
I've noticed that Pan has problems parsing some encoded subject lines.

The actual problem might be with some user agents posting malformed
subject's, but there seem to be more than one such client and it's not very
likely that they are going to be fixed any year now...

The problems seems to be the characters '.' and ':'.

So even if it would break standars, I feel this should be fixed in Pan...


Here are some example subjects (in Finnish language):

Subject:                   
=?iso-8859-1?Q?Henkil=F6tietojen_saatavuus_=28Re:_HKL:n_k=E4nnykk=E4lippu_helppo_v=E4=E4rent=E4=E4=29?=
User-Agent:                 slrn/0.9.6.2 (Linux)

Subject:                    Onko kokemuksia
=?iso-8859-1?Q?"t=E4htih=E4lyst=E4"=3F?=
User-Agent:                 slrn/0.9.7.4 (Linux)

Subject:                   
=?ISO-8859-1?Q?Ajokortti_opetusluvalla;_miten_ja_mit=E4_maksaa=3F?=
X-Trace:                    posting.google.com 1054146537 24831 127.0.0.1
(28 May 2003 18:28:57 GMT)

Subject:                    Re: =?ISO-8859-1?Q?HKL:n_matkakortista_j=E4lleen?=
X-Trace:                    posting.google.com 1056791137 17396 127.0.0.1
(28 Jun 2003 09:05:37 GMT)

Subject:                   
=?ISO-8859-1?Q?Kuningaskuluttaja_13.1._(valmiustila_ja_energians=E4=E4st?=
=?ISO-8859-1?Q?=F6)?=
X-Newsreader:               GNU Emacs v21.3.50/Gnus v5.9.0 (Debian GNU/Linux)

Subject:                    =?iso-8859-1?Q?Modeemiongelmia_Windows_XP:ss=E4?=
X-Newsreader:               Microsoft Outlook Express 6.00.2800.1106

Subject:                   
=?iso-8859-1?Q?kysymys_autom._p=F6lynpoistosta_skannatessa?=
X-Newsreader:               Microsoft Outlook Express 4.72.3612.1700
Comment 1 Christophe Lambin 2003-06-29 22:11:09 UTC
This will require a sync w/ GMime 2.1:
http://bugzilla.gnome.org/show_bug.cgi?id=108557

Marking this for 0.14.1, though we'll probably only do this in a later
release of the 0.14.x series.
Comment 2 Artur Brodowski 2003-07-01 17:36:16 UTC
same thing happens if there are (any specific) national chars in From:
field, can't wait to see it fixed.
best regards,
artb.
Comment 3 Christophe Lambin 2003-07-01 17:41:44 UTC
bzdurqa: that does not sound like the same problem. Could you give me
an example? Group + Message-ID in a commomly available group should be
enough.
Comment 4 Artur Brodowski 2003-07-01 18:26:53 UTC
last spotted on polish os advocacy group, pl.comp.os.advocacy.
since i'm not sure if polish groups are commonly available, i am
pasting headers from this message:

Date:                       Sun, 29 Jun 2003 19:55:01 +0000 (UTC)
From:                      
=?ISO-8859-2?Q?Piotr=20Chyli=F1ski=20<heidi_listy@mac.REMOVE.com>?=
Lines:                      9
Message-ID:                 <20030629215502918+0200@news.icm.edu.pl>
NNTP-Posting-Date:          Sun, 29 Jun 2003 19:55:01 +0000 (UTC)
NNTP-Posting-Host:          chello062179019224.chello.pl
Newsgroups:                 pl.comp.os.advocacy
Organization:               HEIDI - studio reklamy
Path:                      
news.astercity.net!newsfeed.gazeta.pl!news.icm.edu.pl!not-for-mail
Subject:                    =?ISO-8859-2?Q?Apel,=20pro=B6ba,=20etc.?=
User-Agent:                 Halime (MacOSX)/1.0rc2b
X-Complaints-To:            abuse@icm.edu.pl
X-Trace:                    SunSITE.icm.edu.pl 1056916501 15531
62.179.19.224 (29 Jun 2003 19:55:01 GMT)
Xref:                       news.astercity.net pl.comp.os.advocacy:141561
MIME-Version:               1.0
Content-Type:               text/plain; charset=ISO-8859-2
Content-Transfer-Encoding:  8bit

this is for sure Halime's (MOX useragent) bug, but other readers like
slrn display the headers 'properly' - without charset/encoding rubbish.
this might be quite important feature, since afaik national chars are
going to be allowed in domain names end email addresses soon.

other example, same group (Subject with base64 only, From did not
contain any national chars):

Subject:                    jak Apple lito
=?ISO-8859-2?B?tmNpd2llIFhlb255IGJlbmN6bWFya293YbM=?=o
User-Agent:                 Microsoft-Entourage/10.1.1.2418
Message-ID:                 <BB20DAFE.458D1%jurek.b@acn.waw.pl>

another strange thing is [tab] in the above (after 'lito' substring),
i remember that Pan 0.13.something used to put '\t' between the
references (which is fixed now).
i've seen also other badly encoded headers like Organization, but
they occur rarely, malformed Subject is quite common.

best regards,
artb.
Comment 5 Christophe Lambin 2003-07-01 18:50:12 UTC
OK: same bug. :)  Guess I misinterpreted your comment.
Comment 6 Helge Hielscher 2003-07-21 22:30:58 UTC
Is this a dup a of bug 112442?
Comment 7 Christophe Lambin 2003-07-21 22:39:56 UTC
So it is.  Thanks, Helge.
Comment 8 Christophe Lambin 2003-07-21 22:40:04 UTC
*** Bug 112442 has been marked as a duplicate of this bug. ***
Comment 9 Charles Kerr 2003-08-03 13:27:34 UTC
*** Bug 118974 has been marked as a duplicate of this bug. ***
Comment 10 Charles Kerr 2003-08-29 22:42:32 UTC
Mass-bumping of 0.14.2 features to 0.14.3 to make way for an emergency 0.14.2
release.
Comment 11 Christophe Lambin 2003-10-11 20:10:49 UTC
*** Bug 124390 has been marked as a duplicate of this bug. ***
Comment 12 Christophe Lambin 2003-11-25 23:23:52 UTC
Note: there's some portability issues in the current version of GMime
(e.g. calls fork() directly).  This will need to be addressed before
releasing on Windows.
Comment 13 Jeffrey Stedfast 2004-06-07 06:06:51 UTC
fork() is only called in the gpg code, which you don't necessarily need to
include in pan.

anyways, here's a patch bzip2'd (since the inflated patch is 410k)
Comment 14 Jeffrey Stedfast 2004-06-07 06:15:16 UTC
Created attachment 28408 [details] [review]
updated-gmime.patch

also happens to fix bug #98834
Comment 15 Christophe Lambin 2005-06-24 17:02:24 UTC
*** Bug 308940 has been marked as a duplicate of this bug. ***
Comment 16 Charles Kerr 2006-05-04 17:12:44 UTC
0.9x requires a newer mime version as a prerequisite.