]> Sergey Matveev's repositories - public-inbox.git/commit
nntp: ensure we only handle ASCII whitespace
authorEric Wong <e@80x24.org>
Tue, 4 Jun 2019 08:20:40 +0000 (08:20 +0000)
committerEric Wong <e@80x24.org>
Tue, 4 Jun 2019 10:06:18 +0000 (10:06 +0000)
commit53a7adb8aa292f032c44886f220c3e8ed5f93378
tree94d2af4e89f2869d4f2a793ae11408cc6347c79e
parent02598bd82780d9b16fd091268f2dccf989489b0e
nntp: ensure we only handle ASCII whitespace

RFC3977 does not have provisions for whitespace beyond ASCII
TAB, SP, CR and LF.  I doubt there's any NNTP clients broken
enough to be sending non-ASCII whitespace delimiters.

We're probably excessively liberal regarding TAB acceptance,
even; but it's probably too late to change at this point...
lib/PublicInbox/NNTP.pm