Urs Janßen wrote:
> Michael Bäuerle wrote:
> >
Mehr Kontext wegen Xpost: Es ging um folgenden Artikel:
<
news:f43c64a6446b0325...@maerchenland.de>
(Message-ID: <
f43c64a6446b0325...@maerchenland.de>)
flnews konnte das Datum aus diesem Artikel nicht korrekt extrahieren
(wegen der Faltung am Ende).
> > und in Kapitel 3.3:
> > <
https://datatracker.ietf.org/doc/html/rfc5322#section-3.3>
> > |
> > | date-time = [ day-of-week "," ] date time [CFWS]
> > ^^^^
> > Für Mail wäre das demnach auch zulässig.
>
>
https://www.rfc-editor.org/errata/eid3088
> hast du gesehen?
Nein, dieses Erratum hatte ich übersehen. Danke für den Hinweis.
Beim Erratum 3088 steht allerdings dabei:
|
| Status: Rejected
Die von mir zitierte Syntax sollte also noch gültig sein.
Der zitierte Text im Erratum 3088 aus Kapitel 3.2.2:
<
https://www.rfc-editor.org/rfc/rfc5322#section-3.2.2>
|
| [...]
| However, where CFWS occurs in this specification, it MUST NOT
| be inserted in such a way that any line of a folded header field is
| made up entirely of WSP characters and nothing else.
besagt aber, dass man so etwas nicht erstellen (versenden) darf, auch
wenn die Syntax passen würde.
Außerdem ist auch noch die "obsolete syntax" zu beachten, die man
nicht mehr versenden darf, die ein Parser aber verstehen muss:
<
https://www.rfc-editor.org/rfc/rfc5322#section-4.2>
|
| In the obsolete syntax, any amount of folding white space MAY be
| inserted where the obs-FWS rule is allowed. This creates the
| possibility of having two consecutive "folds" in a line, and
| therefore the possibility that a line which makes up a folded header
| field could be composed entirely of white space.
|
| obs-FWS = 1*WSP *(CRLF 1*WSP)
Die wird in Kapitel 3.2.2 verwendet:
<
https://www.rfc-editor.org/rfc/rfc5322#section-3.2.2>
|
| FWS = ([*WSP CRLF] 1*WSP) / obs-FWS
| [...]
| CFWS = (1*([FWS] comment) [FWS]) / FWS
Für ein Mailprogramm müsste das also in Empfangsrichtung funktionieren,
selbst für FWS (nicht nur für CFWS).
Daran sollte auch Erratum 1908 nichts ändern:
<
https://www.rfc-editor.org/errata/eid1908>
Das ist komplizierter als ich vermutet hatte, daher Xpost und Fup2 nach
<news:de.comm.software.newsreader>.