Re: Empty description for moderated newsgroups
Harald Alvestrand <[email protected]> Sun, 29 Nov 2009 19:44:58 +0100
| Newsgroups | gmane.ietf.usenet.format |
|---|---|
| Message-ID | <[email protected]> |
Julien =C9LIE wrote:
>
> Hi,
>
> In USEPRO, we have:
>
> 4.2. application/news-groupinfo
>
> newsgroups-line =3D newsgroup-name
> [ 1*HTAB newsgroup-description ]
> [ *WSP moderation-flag ]
> newsgroup-description
> =3D eightbit-utext *( *WSP eightbit-utext )
> moderation-flag =3D SP "(" %x4D.6F.64.65.72.61.74.65.64 ")"
> ; SPACE + case sensitive "(Moderated)"
> eightbit-utext =3D utext / %d127-255
>
>
> So we can have checkgroups (or newgroup control articles) with:
>
> fr.test
> fr.test.y\tA description.
> fr.test.m\tA description. (Moderated)
> fr.test.m.without.desc (Moderated)
>
> I do not believe the last one is valid. And even though USEPRO states
> that "this unusual format is backward-compatible", I think the last one=
> will be considered as an unmoderated newsgroup whose description is
> "(Moderated)".
Which software currently acts as if the last one is non-moderated?
I can see multiple ways to write a parser for this syntax; some of them=20
will have this problem, other won't.
(for instance, if the check for "(Moderated)" is done independently of=20
attempting to extract the description, there will not be a problem)
If it's a real problem, we should be able to cite which existing=20
software has it.
>
> Isn't it a problem? Empty descriptions are explicitly allowed by the
> syntax. But when a newsgroup is moderated, I do not see well how
> to handle empty descriptions in a backward-compatible way, except
> if a description is mandatory in that case.
>
>
> Incidentally:
>
> 3.10.3. Original-Sender Header Field
>
> The content syntax makes use of syntax defined in [RFC5536]
> and [RFC5322].
>
> header =3D/ Original-Sender-header
> Original-Sender-header
> =3D "Original-Sender" ":" SP
> Original-Sender-content
> Original-Sender-content
> =3D mailbox
>
>
> But shouldn't it be, with USEFOR [RFC5536] syntax:
>
> fields =3D/ *Original-Sender-header
> Original-Sender-header
> =3D "Original-Sender" ":" SP
> Original-Sender-content CRLF
> Original-Sender-content
> =3D mailbox
>