[ietf-nntp] authinfo-02 changes

Clive D.W. Feather clive at demon.net
Thu Jul 29 03:45:12 PDT 2004


Ken Murchison said:
>> It's a fairly subtle point, but basically what my syntax says is:
>> - the command line is made up of words separated by white space, and
>> - the username is made up of those words after "USER";
>> while your syntax says:
>> - the username is those characters after "USER".
> Yes, I think this what we want.  It might not be very useful for USER, 
> but people may want a leading/trailing space in their password,

The problem is that this breaks the NNTP parsing model, and I am very very
loath to do that.

>>    AUTHINFO_PASS_secret
>>    AUTHINFO_PASS_secret_
>>    AUTHINFO_PASS__secret
>>    AUTHINFO_PASS__secret_
>> are all equivalent (the password is "secret") while yours has a parsing
>> ambiguity: is the second space after PASS, or the trailing space, part
>> of the passwords or not?
> I believe each of these should be different.

Same issue.

In addition, it makes the whole grammar ambiguous, since there becomes more
than one way to parse the same line.

-- 
Clive D.W. Feather  | Work:  <clive at demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive at davros.org>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
Thus plc            |                            |



More information about the ietf-nntp mailing list