[NNTP] Spaces in usernames and passwords

Russ Allbery rra at stanford.edu
Thu Sep 2 12:05:54 PDT 2004


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.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the ietf-nntp mailing list