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 98424 - space reading fails if message-id has a trailing space
space reading fails if message-id has a trailing space
Product: Pan
Classification: Other
Component: general
Other All
: Normal normal
: 0.13.3
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Reported: 2002-11-13 20:49 UTC by Charles Kerr
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Charles Kerr 2002-11-13 20:49:33 UTC
For some reason, some of the message-ids I'm pulling down from my
news server in XOVER have a trailing space in the message-id.
IMO the error lies with the server, not Pan, but Pan should handle
this problem gracefully.

GMime strips out leading/trailing spaces in a header before parsing
it, but right now nntp.c doesn't strip these headers before passing
them along to a new Article*, so comparing the message-id of the
Article and GMimeMessage fails.  This causes space reading to break,
because Pan thinks the selected article != the current article
and re-shows the top page of the selected article.