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 98463 - Missing semi-colon in Content-Type => Empty message in Pan
Missing semi-colon in Content-Type => Empty message in Pan
Product: Pan
Classification: Other
Component: general
Other Linux
: Normal normal
: 0.13.3
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Reported: 2002-11-14 08:29 UTC by schrode
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description schrode 2002-11-14 08:29:35 UTC
Someone used the following wrong Content-Type:

Content-Type: text/plain charset=us-ascii

Note: missing semi-colon ";" between "plain" and "charset".

Pan will not be able to display the message.

Sample message header:

| Message-ID: <dna92C5657C6A936code9@no.suprise>
| From: tranquilo <>
| Newsgroups: opera.beta
| Subject: Re: favicons
| Date: Wed, 13 Nov 2002 09:58:35 -0500
| References: <>
| Content-Type: text/plain charset=us-ascii

tranquilo fixed his "news reader" in the meantime but I think Pan should have been able to display the message even if it doesn't contain a valid Content-Type.
Comment 1 Jeffrey Stedfast 2002-11-14 19:02:32 UTC
partly a gmime poblem and partly a pan problem, depending on how ya
look at it :-)

GMime parses the Content-Type as:

type = "text"
subtype = "plain charset=us-ascii"

clearly this is wrong... tho I've just fixed it.

I assume the reason that Pan isn't displaying the mime part is because
it is looking for a "text/plain" part and so doesn't match "text/plain

I'll commit th fixes as soon as I get off work tonight :-)
Comment 2 Charles Kerr 2002-11-14 20:13:03 UTC
I'll leave this bug open for now until fejj's patches
get into pan cvs head, but for pan's code's part,
it now handles displays text-type messages regardless of the subtype:
Comment 3 Jeffrey Stedfast 2002-11-15 02:46:10 UTC
ok, my patch went in for gmime as well as pan trunk so this bug can be
closed now.