[NNTP] Spaces in usernames and passwords

Ken Murchison ken at oceana.com
Thu Sep 2 12:07:48 PDT 2004


Russ Allbery wrote:

> Ken Murchison <ken at oceana.com> writes:
> 
> 
>>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
> 
> 
> This also works for me.  I think we still want the 2.1.2 change.

Yes, those changes are already in the source.

-- 
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