]> Sergey Matveev's repositories - public-inbox.git/commit
githttpbackend: require Range:, Status: to be ASCII digits
authorEric Wong <e@80x24.org>
Tue, 4 Jun 2019 02:04:32 +0000 (02:04 +0000)
committerEric Wong <e@80x24.org>
Tue, 4 Jun 2019 10:06:18 +0000 (10:06 +0000)
commit3abd653020d6b4072759c83fb69c68b6e838aa09
treed8450f604be00da8382bd9c5546b3df622c4845b
parenta533d298a88688587311efc8d59c924a502667f9
githttpbackend: require Range:, Status: to be ASCII digits

Non-ASCII digits would be interpreted as a zeroes as integers.

While we're at it, ensure the Status: code is an ASCII digit,
too; though I would not expect git-http-backend(1) or cgit(1)
start spewing non-ASCII digits at us.
lib/PublicInbox/GitHTTPBackend.pm