🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55586

Re: Is there a hack to support paswords that contain spaces?

#55586
From: Russ Allbery
Date: Mon, 10 Dec 2001 01:25
29 lines
2483 bytes
Curt Welch <curt@kcwc.com> writes:

> It strikes me as odd that someone would call that a syntax error yet
> look on "AUTHINFO PASS two words" as OK.  Clearly a double standard at
> work here.

AUTHINFO PASS with a password containing spaces is a syntax error too.
However, there's a difference.

There is nothing valid that one can do with TAKETHIS with a parameter
containing spaces.  Spaces are not permitted in message IDs, therefore any
article containing a message ID with spaces is not a valid netnews
article, therefore even trying to propagate such an article is in
violation of the protocol.

However, there is no standard for passwords, and in fact passwords are
defined outside of the NNTP protocol.  There's nothing saying anywhere
that passwords that can't contain spaces; there's just an encoding error
in the way in which passwords are passed to the server.

So the latter is worth correcting for in the "be liberal in what one
excepts" department for me, whereas the former is not.

-- 
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: <yllmgb7tni.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <ylwuzybpvz.fsf@windlord.stanford.edu> <1007846386.132947@ok-corral.gunslinger.net> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <ylzo4t2fci.fsf@windlord.stanford.edu> <20011209035143.795$Mf@newsreader.com> <yl667gdty5.fsf@windlord.stanford.edu> <20011209174305.050$xD@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <yllmgb7tni.fsf@windlord.stanford.edu>
Subject: Re: Is there a hack to support paswords that contain spaces?
Date: Mon, 10 Dec 2001 01:25:53 +0000
From: Russ Allbery <rra@stanford.edu>
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <ylwuzybpvz.fsf@windlord.stanford.edu> <1007846386.132947@ok-corral.gunslinger.net> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <ylzo4t2fci.fsf@windlord.stanford.edu> <20011209035143.795$Mf@newsreader.com> <yl667gdty5.fsf@windlord.stanford.edu> <20011209174305.050$xD@newsreader.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 28
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1007947553 23332 171.64.13.23 (10 Dec 2001 01:25:53 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)