RFC Errata
RFC 4707, "Netnews Administration System (NAS)", October 2006
Source of RFC: INDEPENDENT
Errata ID: 5825
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Julien Élie
Date Reported: 2019-08-18
Throughout the document, when it says:
Section 6.3.3.10: username = *1( VCHAR ) / "0" ; Length of VCHAR >= 1 password = *1( VCHAR ) / "0" ; Length of VCHAR >= 1 [...] getp-answer =/ "213" [answertext] CRLF text CRLF "." CRLF getp-answer =/ "430" [answertext] CRLF text CRLF "." CRLF getp-answer =/ "411" [answertext] CRLF text CRLF "." CRLF getp-answer =/ "510" [answertext] CRLF text CRLF "." CRLF getpdata = "Name:" WSP text CRLF "Status:" WSP text CRLF "Serial:" WSP timestamp CRLF *(header ":" WSP text CRLF) [("Ctl-PGP-Key:" CRLF PGP-answer / "Mod-PGP-Key:" CRLF PGP-answer)] Section 6.3.3.11: geta-answer =/ "215" [answertext] CRLF text CRLF "." CRLF geta-answer =/ "430" [answertext] CRLF text CRLF "." CRLF geta-answer =/ "411" [answertext] CRLF text CRLF "." CRLF geta-answer =/ "510" [answertext] CRLF text CRLF "." CRLF getadata = "Name:" WSP text CRLF "Status:" WSP text CRLF "Serial:" WSP timestamp CRLF *(header ":" WSP text CRLF) [("Ctl-PGP-Key:" CRLF PGP-answer/ "Mod-PGP-Key:" CRLF PGP-answer)]
It should say:
Section 6.3.3.10: username = 1*VCHAR / "0" password = 1*VCHAR / "0" [...] getp-answer =/ "213" [answertext] CRLF [1*text CRLF] "." CRLF getp-answer =/ "430" [answertext] CRLF [1*text CRLF] "." CRLF getp-answer =/ "411" [answertext] CRLF [1*text CRLF] "." CRLF getp-answer =/ "510" [answertext] CRLF [1*text CRLF] "." CRLF getpdata = "Name:" WSP name CRLF "Status:" WSP list-status CRLF "Serial:" WSP timestamp CRLF *(header ":" WSP *text CRLF) [("Ctl-PGP-Key:" CRLF PGP-answer / "Mod-PGP-Key:" CRLF PGP-answer)] Section 6.3.3.11: geta-answer =/ "215" [answertext] CRLF [1*text CRLF] "." CRLF geta-answer =/ "430" [answertext] CRLF [1*text CRLF] "." CRLF geta-answer =/ "411" [answertext] CRLF [1*text CRLF] "." CRLF geta-answer =/ "510" [answertext] CRLF [1*text CRLF] "." CRLF getadata = "Name:" WSP name CRLF "Status:" WSP list-status CRLF "Serial:" WSP timestamp CRLF *(header ":" WSP *text CRLF) [("Ctl-PGP-Key:" CRLF PGP-answer / "Mod-PGP-Key:" CRLF PGP-answer)]
Notes:
For username and password, RFC 4234 defines VCHAR as %x21-7E, that is to say only one character.
I suggest [1*text CRLF], that is to say a possible non-empty line, for getp-answer and geta-answer with 213, 215, 430, 411 and 510 response codes.
We need at least *text anyway (several characters), as shown in the examples in Sections 6.3.3.10 and 6.3.3.11.
As for getpdata and getadata, the text keyword used thrice alone is also not right.