Article View: news.software.nntp
Article #55578Re: Is there a hack to support paswords that contain spaces?
From: Curt Welch
Date: Sun, 09 Dec 2001 22:43
Date: Sun, 09 Dec 2001 22:43
39 lines
2977 bytes
2977 bytes
Russ Allbery <rra@stanford.edu> wrote: > Curt Welch <curt@kcwc.com> writes: > > > That's how I ended up structuring my code to deal with the problem of > > parsing Message-IDs with spaces in them. Diablo at one time (and maybe > > still?) was offering articles with commands like: > > > TAKETHIS <a very stupid id> > > That's a flat-out syntax error, 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. > and I don't think INN should do anything > with that except reject it as a syntax error. Spaces are not allowed in > message IDs; accepting and propagating those articles doesn't do anyone > any favors. Right, I agree. But I wanted to reject the ID with a valid reject code like "435 Bad Message-ID." for an IHAVE like that instead of with a 500. And for "TAKETHIS <bad id>", you can't reject the command with a 500 error and then ignore the data that follows. If you reject it with a 5XX the sending side could make the false assumption that the problem is not with the message, but with something else, and re-queue the message for later -- which clearly is not what you want the sending side to do. I also wanted to count the reject with the other forms of "Bad ID" and not as a syntax error for the statistics. So bogus or not, I had to parse the line just to make my server handle and log the error correctly. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <20011209174305.050$xD@newsreader.com>
Subject: Re: Is there a hack to support paswords that contain spaces?
Date: Sun, 09 Dec 2001 22:43:05 +0000
From: curt@kcwc.com (Curt Welch)
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>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 3qAlvuJNrndt_UjfOWK_MqB4s85n2d4fboIeyeGC8hW+f2JT
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 38