🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90101

Re: No colon-space in header field check in INN

#90101
From: D Finnigan
Date: Tue, 07 Feb 2023 16:18
27 lines
2136 bytes
Julian Bradfield <jcb@inf.ed.ac.uk> wrote:
> On 2023-02-07, D Finnigan <dog_cow@macgui.com> wrote:
>> Jesse Rehmer <jesse.rehmer@blueworldhosting.com> wrote:
>>> I've been on auto-pilot for a bit, but started checking logs/reports today and
>>> notice an increasing number of articles rejected due to the following:
>>> 
>>>    439 No colon-space in "User-Agent:" header field
>>> 
>>> When reviewing headers of the those messages there is a User-Agent: header,
>>> but its blank and does not contain a space.
>>> 
>>> It is probably against a RFC to accept these messages, 
>> 
>> The colon is merely a separator between field name and field value. The
>> space afterward is only for human readability and is not mandated by the
>> RFCs. The whitespace following a colon is part of the field value and is
>> typically trimmed out. 
>> 
>> Check the RFCs; people assume the space following a colon is mandatory, but
>> it's not.
> 
> I think you should check the RFCs before telling people off for not
> doing so. Here is what the current RFC, RFC 5536, says (sec. 2.2):
> 

Ah, nicely done. I'd only looked at RFC 5322. Didn't know the NNTP one
differed.
Technical Details
Message-ID: <1437876612697479409.801055dog_cow-macgui.com@reader02.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <trd09m$1369$1@nnrp.usenet.blueworldhosting.com> <1121673478697475192.561257dog_cow-macgui.com@reader02.eternal-september.org> <slrntu4tmk.1ce8k.jcb@bridgetown.inf.ed.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <1437876612697479409.801055dog_cow-macgui.com@reader02.eternal-september.org>
Subject: Re: No colon-space in header field check in INN
Date: Tue, 07 Feb 2023 16:18:37 +0000
From: D Finnigan <dog_cow@macgui.com>
References: <trd09m$1369$1@nnrp.usenet.blueworldhosting.com> <1121673478697475192.561257dog_cow-macgui.com@reader02.eternal-september.org> <slrntu4tmk.1ce8k.jcb@bridgetown.inf.ed.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient Spider
Lines: 27
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 7 Feb 2023 16:18:37 -0000 (UTC)
User-Agent: NewsTap/4.0.1 (iPhone/iPod Touch)
Cancel-Lock: sha1:0plmMdZxIimoTOOM2KU8yxSztYU=