]> Sergey Matveev's repositories - public-inbox.git/commit
disallow "\t" and "\n" in OVER headers
authorEric Wong <e@80x24.org>
Fri, 20 Apr 2018 03:27:37 +0000 (03:27 +0000)
committerEric Wong <e@80x24.org>
Fri, 20 Apr 2018 03:27:53 +0000 (03:27 +0000)
commit0ef5872cee83f07c9ae7afceb2e92257507dc3ca
tree5464f1ae1d633a31cdf4bcb9808e5a66f3113528
parente350de7fdbe12dafc36e893e66ce8c93ec6dc3f2
disallow "\t" and "\n" in OVER headers

For Subject/To/Cc/From headers, we squeeze them to a space (' ').

For Message-IDs (including References/In-Reply-To), '\t', '\n', '\r'
are deleted since some MUAs might screw them up:

  https://public-inbox.org/git/656C30A1EFC89F6B2082D9B6@localhost/raw
lib/PublicInbox/MID.pm
lib/PublicInbox/SearchMsg.pm
t/mid.t
t/nntpd.t