Article View: news.software.nntp
Article #55560Re: Is there a hack to support paswords that contain spaces?
From: Jeffrey M. Vinocur
Date: Sun, 09 Dec 2001 07:38
Date: Sun, 09 Dec 2001 07:38
41 lines
2559 bytes
2559 bytes
In article <9uv25f$5g1$1@news.panix.com>, Greg Andrews <gerg@panix.com> wrote: >jeff@litech.org (Jeffrey M. Vinocur) writes: >> >> The client must then send the username followed by >> one or more space characters followed by the >> password. >> >>I don't see that conflicting with taking the password to be >>everything beginning with the first non-whitespace after the >>username. Am I missing something? > >The general problem with handling separator characters as if >they aren't separator characters is increasing code complexity >in one of the server's more critical code paths. Ok, sure...my question was really whether I was reading the spec wrong. The impression I had before I read the above was that the correct behavior was not clear. But it sounds like the desired behavior is clear (although implementing it may be complicated). >The server that must parse the command can't have one parser >for the whole NNTP protocol anymore. (Parser!? Tokenizer, maybe.) But yes, point. >Not to mention the slippery slope effect. Once one command >treats separator chars as non-separator chars, it's very easy >to add another, and another, and... I guess...but dealing with this has been in TODO for quite a while, and yet nothing else similar has popped up. It's not like we're designing the protocol, here, just implementing it. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<9uv4di$j03$1@marduk.litech.org>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!lnsnews.lns.cornell.edu!news.litech.org!not-for-mailReferences:
<9urfpi$7vi$1@teta.doit.wisc.edu> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <9uv25f$5g1$1@news.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <9uv4di$j03$1@marduk.litech.org> Subject: Re: Is there a hack to support paswords that contain spaces? Date: Sun, 09 Dec 2001 07:38:26 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <9urfpi$7vi$1@teta.doit.wisc.edu> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <9uv25f$5g1$1@news.panix.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!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Lithium Technologies Lines: 40 Sender: jeff@litech.org Distribution: inet NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 1007883506 19459 128.84.154.54 (9 Dec 2001 07:38:26 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Sun, 9 Dec 2001 07:38:26 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)