GNOME Bugzilla – Bug 98424
space reading fails if message-id has a trailing space
Last modified: 2004-12-22 21:47:04 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.
Fixed in 0-13-fix http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=nntp.c&rev1=1.247&rev2=1.247.2.1&root=/cvs/gnome And head: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=nntp.c&rev1=1.247&rev2=1.248&root=/cvs/gnome