🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87448

Re: Multiple occurences of header fields

#87448
From: Michael Baeuerle
Date: Fri, 27 May 2016 11:32
48 lines
3101 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > 
> > The "Lines" header field is marked obsolete by RFC5536 and there is the
> > note :
> > 
> > | All agents SHOULD ignore it [...]
> > 
> > Is there a reason for INN to not follow this recommendation?
> 
> Section 6 (IANA considerations) of RFC5536 marks it as "deprecated", 
> and Section 3.3.1 mentions it is "obsolescent".  The Lines: header 
> field isn't therefore obsolete yet :)
> 
> What is exactly the meaning of "All agents SHOULD *ignore* it"?  Does 
> it really mean that the header field is supposed to be removed?  (as 
> RFC5536 speaks of *all* agents, it would imply that even innd, as a 
> relaying agent, is supposed to remove that header, if seen)
> Is it what you are suggesting with your question?

My suggestion is "not enforce syntax for obsolete header field bodies".

If the "Lines" header field is not obsolete yet (because Section 6 of
RFC5536 makes it only deprecated), my suggestion was based on wrong
assumptions for this field.

I also assumed, that INN no longer use the content of the "Lines" header
field internally.

> I thought that the header can be present but its value not taken into 
> account (for instance, no check for the coherence between its value and 
> the reality, not used in overview data...).

That is what I had in mind too (the syntax of the field body).
"Ignore" in the sense of "don't look at the field body".

Example:

   Lines:-1

IMHO it should only be modified to:

   Lines: -1
         ^
to match the syntax defined for all header fields. But not trying to
repair the invalid field body.

Technical Details
Message-ID: <AABXSDA4TYoAAAKq.A1.flnews@WStation5.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <2116899503.484444288.248931.dunno-dunno.dunno@news.mixmin.net> <ngqpe2$5cc$1@news.trigofacile.com> <1847732562.484552918.438596.dunno-dunno.dunno@news.mixmin.net> <ngtd3e$2e5$1@news.trigofacile.com> <87oa8djpeh.fsf@hope.eyrie.org> <alpine.OSX.2.20.1605111043570.14592@mako.ath.cx> <nhsd2n$mdi$1@news.trigofacile.com> <ni2afm$96b$1@news.trigofacile.com> <AABXRsV5TKsAAEue.A1.flnews@WStation4.micha.freeshell.org> <ni7mv5$9j3$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <AABXSDA4TYoAAAKq.A1.flnews@WStation5.stz-e.de>
Subject: Re: Multiple occurences of header fields
Date: Fri, 27 May 2016 11:32:08 +0000
From: Michael Baeuerle <michael.baeuerle@stz-e.de>
References: <2116899503.484444288.248931.dunno-dunno.dunno@news.mixmin.net> <ngqpe2$5cc$1@news.trigofacile.com> <1847732562.484552918.438596.dunno-dunno.dunno@news.mixmin.net> <ngtd3e$2e5$1@news.trigofacile.com> <87oa8djpeh.fsf@hope.eyrie.org> <alpine.OSX.2.20.1605111043570.14592@mako.ath.cx> <nhsd2n$mdi$1@news.trigofacile.com> <ni2afm$96b$1@news.trigofacile.com> <AABXRsV5TKsAAEue.A1.flnews@WStation4.micha.freeshell.org> <ni7mv5$9j3$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Lines: 46
Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net nQTExuZmlKCX2Aj6nMLajAjut7WHqRZm6j61XDhoyjXejBvUO6
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:R9/O+ktDghXKM9fJDbS2TQz/x90= sha1:nf/0uBwMESOlM7iXzGyKaQc5tY8=
Injection-Date: Fri, 27 May 2016 11:32:08 -0000
User-Agent: flnews/0.14pre30 (for NetBSD)
X-Received-Body-CRC: 1588810383
X-Received-Bytes: 2967