🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55558

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

#55558
From: Jeffrey M. Vinocur
Date: Sun, 09 Dec 2001 05:03
38 lines
2309 bytes
In article <ylzo4t2fci.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>
>> Oh wait.  Implementing this for nnrpd could be a bit hairy...
>
>Heh.  Yes.  That's why it's not been fixed.

But my interpretation of the ~spec (in particular, that it's
unambiguous) is right?


>The right thing to do is probably to pass every function both the raw
>command line and the Argify'd command line in case it needs the raw one;
>that way nothing has to be special-cased but there isn't massive code
>duplication.  Still kind of ugly, though.

Yeah.  I don't mind it much, except that it will make big diffs
between the stable and current branches for no good reason.  But
if you're fine with this, I can have a go.


>> [1] I can't imagine anyone ever putting a tab in a password,
>
>I can imagine someone using a tab.

Really?  Any client with a GUI is going to be trapping tab for
moving between fields, and it doesn't seem likely that someone
reading news from a text-only client would do something like
that.

But that method is definitely a hack, so I'm happy to skip it.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <9uurah$dip$4@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!news.ems.psu.edu!news.litech.org!not-for-mail
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <ylzo4t2fci.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <9uurah$dip$4@marduk.litech.org>
Subject: Re: Is there a hack to support paswords that contain spaces?
Date: Sun, 09 Dec 2001 05:03:13 +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> <ylzo4t2fci.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.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 37
Sender: jeff@litech.org
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 1007874193 13913 128.84.154.54 (9 Dec 2001 05:03:13 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 9 Dec 2001 05:03:13 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)