🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #227621

Re: Broken References - missing MIDs

#227621
From: »Q«
Date: Fri, 28 Nov 2008 22:53
116 lines
6219 bytes
On Fri, 28 Nov 2008 21:55:52 +0000
Peter J Ross <pjr@example.invalid> wrote:

> In news.software.readers on Fri, 28 Nov 2008 13:52:01 -0600, »Q«
> <boxcars@gmx.net> wrote:
> 
> > On Fri, 28 Nov 2008 19:03:20 +0000
> > Peter J Ross <pjr@example.invalid> wrote:
> >
> >> In news.software.readers on Fri, 28 Nov 2008 23:15:00 +1100, Rom
> >> <-@-.invalid> wrote:
> >> 
> >> > The server is news.mozilla.org and group is
> >> > mozilla.support.firefox Below are partial headers from two posts
> >> > of the same thread. #2 is a followup to #1, and both are from
> >> > regular posters. I haven't previously noticed posts with
> >> > References missing MIDs like #2 below in this group, so I wonder
> >> > what caused it this time or if it's another GG problem. 
> >> >
> >> > #1 (there is no User-Agent but I'd guess Moz/T'bird):
> >> >| Date: Thu, 27 Nov 2008 13:10:43 -0500
> >> >| MIME-Version: 1.0
> >> >| Newsgroups: mozilla.support.firefox
> >> >| Subject: Re: bookmarks
> >> >| References: <IN-dnXDxAq1dULPUnZ2dnUVZ_sjinZ2d@mozilla.org>
> >> ><-ICdnStgIv6oS7PUnZ2dnUVZ_uednZ2d@mozilla.org>
> >> ><X5ydndxPofZ9RLPUnZ2dnUVZ_vudnZ2d@mozilla.org>
> >> ><cb242d53-c93a-4f08-b47d-55f4c69067b3@k36g2000yqe.googlegroups.com>
> >> >| In-Reply-To:
> >> ><cb242d53-c93a-4f08-b47d-55f4c69067b3@k36g2000yqe.googlegroups.com>
> >> >| Content-Type: text/plain; charset=ISO-8859-1; format=flowed |
> >> >Content-Transfer-Encoding: 7bit | Message-ID:
> >> ><NeWdnXHmm8c5f7PUnZ2dnUVZ_jednZ2d@mozilla.org>
> >> 
> >> Notice the extra white space in the References line.
> >> 
> >> It looks as if this References line may retain the first message-id
> >> and the last three, which is permitted, though not desirable if
> >> header-folding is available as an alternative.
> >> 
> >> > #2
> >> >| Newsgroups: mozilla.support.firefox
> >> >| Subject: Re: bookmarks
> >> >| Date: Thu, 27 Nov 2008 11:18:10 -0800 (PST)
> >> >| Organization: http://groups.google.com
> >> >| Message-ID:
> >> ><617b53de-ef50-46b6-a7a6-56a5855256d1@h5g2000yqh.googlegroups.com>
> >> >| References: NeWdnXHmm8c5f7PUnZ2dnUVZ_jednZ2d@mozilla.org |
> >> >Mime-Version: 1.0 | Content-Type: text/plain; charset=ISO-8859-1
> >> >| Content-Transfer-Encoding: quoted-printable
> >> 
> >> It's possible that Google chokes on the extra white space in the
> >> original References line (which I take to be present as an
> >> indication that some message-ids have been omitted), but it's just
> >> as likely that Google have deliberately implemented some new way
> >> of Doing Evil.
> >
> > No MIDs are missing up to that point -- the extra whitespace is due
> > to folding and unfolding of the header, I think.
> 
> In that case, it's WRONG. Folding and unfolding shouldn't add any
> ambiguous extra whitespace.
> 
> > Here's my take on it.
> >
> > A reply using Google has used folding, with a tab as the folding
> > whitespace beginning the new line.  AFAICT, that's valid.
> 
> I think it's WRONG to use tabs when folding the References line.
> Header lines can be folded without introducing confusing stuff like
> tabs.

Looking at 2822 again, you're right.  Nothing but a CRLF should be
added when folding.  Adding extra whitespace, including tabs, is right
out.  (If a header field *already* had a tab, it would be ok to fold
with a CRLF right before it, which is how I got it wrong.)

> > Then a followup posted without a user agent indication has unfolded
> > the References header but left the tab in place between two MIDs.
> > Simply removing the CRLF is the way 2822 says to unfold a header,
> 
> Exactly! Folding and unfolding shouldn't involve adding or
> subtracting anything other than a CRLF that can be detected as a
> removable addition.
> 
> > but in this
> > case it results in a References header with a non-folding tab, which
> > AFAICT is a no-no.
> 
> I'm not aware that a non-folding tab isn't permitted. Cite?
>
> This particular non-folding tab (if that's what it is) is
> inappropriate, and I see no use for such shit in References lines,
> but I still want a citation to prove it.

I was looking at the recursive definitions in 2822 when I wrote that,
but I'd go crosseyed if I tried it again right now.  In the way the
References header field definition is built, I didn't see any provision
for tabs creeping into the construction, but I might well be missing
something. Your turn now to look at the RFC. ;)

> > Google apparently then chokes on the References header with the
> > non-folding tab, ignoring it and starting a new, broken References
> > header without angle brackets.
> 
> I suggest that it would be better to omit the References line
> completely than to make guesses.

IMO, a References header with only the OP's MID or with only the
parent's MID is better than none at all, but taking off the brackets
is clearly wrong.
 
> Thanks for your research, »Q«.

You're welcome -- I just hope I haven't caused more darkness than
light. ;)
Technical Details
Message-ID: <20081128165354.2dc924a0@bellgrove.remarqs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <9ynq83ln4j3g$.wrod15p1z4m1$.dlg@40tude.net> <slrngj0g3o.4r0.pjr@pjr.motzarella.org> <20081128135201.6bb7de7d@bellgrove.remarqs.net> <slrngj0q78.4r0.pjr@pjr.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <20081128165354.2dc924a0@bellgrove.remarqs.net>
Subject: Re: Broken References - missing MIDs
Date: Fri, 28 Nov 2008 16:53:54 -0600
From: »Q« <boxcars@gmx.net>
References: <9ynq83ln4j3g$.wrod15p1z4m1$.dlg@40tude.net> <slrngj0g3o.4r0.pjr@pjr.motzarella.org> <20081128135201.6bb7de7d@bellgrove.remarqs.net> <slrngj0q78.4r0.pjr@pjr.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 116
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net u5k0IolhG2MeFc5DP2asiA6LXXtm03NK5yxiZg1TUYg6Y6VuOh
X-Orig-Path: bellgrove.remarqs!not-for-mail
Cancel-Lock: sha1:/dAsYgq785m7SXwNR5QKYPVlJ5c=
X-Newsreader: Claws Mail 3.5.0 (GTK+ 2.12.11; i686-pc-linux-gnu)