🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72613

Re: Bug in slrn POST command?

#72613
From: Russ Allbery
Date: Wed, 09 Nov 2005 23:41
23 lines
2185 bytes
> On news.software.readers, "Lars Kellogg-Stedman" wrote:

>> I've just started setting up NNTP support in a Cyrus IMAP environment.
>> After looking at what we thought was an ACL problem, we discovered what
>> appears to be a bug in SLRN.

>> When sending the NNTP "POST" command, slrn adds an extra space at the
>> end of the line.  That is, it sends "POST " instead of "POST", which
>> makes our NNTP server unhappy ("501 Unexpected extra argument").

>> Is this a known problem with slrn?

It's a problem that most news servers aren't going to notice, but indeed,
sending a trailing space is technically in violation of the recently
approved new NNTP standard.  Whitespace is only allowed in the formal ABNF
as a separator between commands and arguments, not before commands or at
the end of the line.

-- 
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: <874q6lqtho.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.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <larsks-ED6EA6.08383909112005@news.isp.giganews.com> <slrndn4vpg.19f.i3x9mdw@b29x3m.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <874q6lqtho.fsf@windlord.stanford.edu>
Subject: Re: Bug in slrn POST command?
Date: Wed, 09 Nov 2005 15:41:39 -0800
From: Russ Allbery <rra@stanford.edu>
References: <larsks-ED6EA6.08383909112005@news.isp.giganews.com> <slrndn4vpg.19f.i3x9mdw@b29x3m.invalid>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.readers,news.software.nntp
Organization: The Eyrie
Lines: 23
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1131579701 1539 171.64.19.147 (9 Nov 2005 23:41:41
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.17 (linux)
Cancel-Lock: sha1:8CFZFO2kyWfa+Zogu+8ZE5NAeCE=