[NNTP] Spaces in usernames and passwords

Ken Murchison ken at oceana.com
Thu Sep 2 11:51:40 PDT 2004


Russ Allbery wrote:
> Clive D W Feather <clive at demon.net> writes:
> 
> 
>>Okay, here's a proposal.
> 
> 
> This proposal looks good to me.

I'm fine with this as well.  I'll also propose this as a possible 
simpler and less-wordy alternative:


username = 1*(user-pass-char)
password = 1*(user-pass-char)
user-pass-char = P-CHAR

Note: A server implementation MAY parse AUTHINFO USER and AUTHINFO PASS 
specially as to allow white space to be used within the username or 
password.  Such implementations typically treat everything between the 
first whitespace character following "USER"/"PASS" and EOL as the 
username/password.  In this case, "user-pass-char" is extended as such:

user-pass-char =/ SP / TAB



-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp



More information about the ietf-nntp mailing list