]> Sergey Matveev's repositories - public-inbox.git/commit
nntp: fix LIST OVERVIEW.FMT ordering and format
authorEric Wong <e@80x24.org>
Sat, 13 Jul 2019 21:38:11 +0000 (21:38 +0000)
committerEric Wong <e@80x24.org>
Sat, 13 Jul 2019 21:49:42 +0000 (21:49 +0000)
commitaca2d958e5bf80d19d69f66d2c1ec6809fece29a
tree6249ff2170fd10456b1a43849046d5bd2190ed87
parenta090752ccc1bdbe5d90ec54dbecbb1a44f3f8091
nntp: fix LIST OVERVIEW.FMT ordering and format

RFC3977 8.4.2 mandates the order of non-standard headers
to be after the first seven standard headers/metadata;
so "Xref:" must appear after "Lines:"|":lines".

Additionally, non-required header names must be followed
by ":full".

Cc: Jonathan Corbet <corbet@lwn.net>
Reported-by: Urs Janßen
<E1hmKBw-0008Bq-8t@akw>
lib/PublicInbox/NNTP.pm
t/nntpd.t