]> Sergey Matveev's repositories - public-inbox.git/commit
nntpd: restrict allowed newsgroup names
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:03:59 +0000 (07:03 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
commita7018ba43dec712675d21ace5ea1e19d901fdb0f
tree0f1c7bf7027b803c092925784868086e1bfa36a8
parent1f808e4bd5a8e4ad15272a26e8cd3a79b0a06510
nntpd: restrict allowed newsgroup names

We'll be using newsgroup names as mailbox names for IMAP,
too, so ensure we don't send wonky characters in responses.

I doubt this affects any real-world instances, but a BOFH could
choose strange names to cause grief for clients.
lib/PublicInbox/NNTPD.pm