]> Sergey Matveev's repositories - public-inbox.git/commitdiff
config: inbox name checking matches git.git more closely
authorEric Wong <e@80x24.org>
Wed, 9 Jan 2019 11:43:26 +0000 (11:43 +0000)
committerEric Wong <e@80x24.org>
Tue, 15 Jan 2019 21:23:45 +0000 (21:23 +0000)
Actually, it turns out git.git/remote.c::valid_remote_nick
rules alone are insufficient.  More checking is performed as
part of the refname in the git.git/refs.c::check_refname_component

I also considered rejecting URL-unfriendly inbox names entirely,
but realized some users may intentionally configure names not
handled by our WWW endpoint for archives they don't want
accessible over HTTP.


No differences found