🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82990

Re: Another cancel message filing problem

#82990
From: Russ Allbery
Date: Tue, 13 Apr 2010 00:14
27 lines
2351 bytes
"Adam H. Kerman" <ahk@chinet.com> writes:
> Julien ALIE <iulius@nom-de-mon-site.com.invalid> wrote:
>> Hi Russ,

>>>   control         =  "Control:" SP *WSP control-command *WSP CRLF
>>>   control-command =  verb *( 1*WSP argument )
>>>   verb            =  token
>>>   argument        =  1*( %x21-7E )

>> Hmm...  If there is a final WSP after control-command, INN <= 2.5.1
>> does not honour the cancel:  ARTidok expects '>'+'\0' at the end of a
>> message-ID.  INN 2.5.2 uses for innd the new function IsValidMessageID
>> which strips whitespaces (boolean argument "true" for that behaviour).

>> I do not know what other news servers do about that final WSP.  I hope
>> they understand it well.

> If it's bad syntax, why is it a good thing to strip? Why not reject it?
> Strictly interpreting syntax in this regard should be preferred.

The syntax allows trailing whitespace.  See the *WSP before the CRLF.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <874ojg439r.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
References: <hpoa7p$qmj$1@snarked.org> <hpueir$un$1@news.httrack.net> <87k4sd9o1o.fsf@windlord.stanford.edu> <hpum4r$fg4$1@news.trigofacile.com> <hq0c20$81t$4@news.albasani.net>

Show Full Headers
Complete Article Headers
Message-ID: <874ojg439r.fsf@windlord.stanford.edu>
Subject: Re: Another cancel message filing problem
Date: Mon, 12 Apr 2010 17:14:40 -0700
From: Russ Allbery <rra@stanford.edu>
References: <hpoa7p$qmj$1@snarked.org> <hpueir$un$1@news.httrack.net> <87k4sd9o1o.fsf@windlord.stanford.edu> <hpum4r$fg4$1@news.trigofacile.com> <hq0c20$81t$4@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 27
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: usenet-its.stanford.edu 1271117680 1790 171.67.225.134 (13 Apr 2010
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:ELzc8Wykv96ODmML6TI+SFZSFRY=