names: tighten up the requirements for project and user names
commitf3bb6531de8deef2900898fd751a8338d7315600
authorKyle J. McKay <mackyle@gmail.com>
Sat, 30 Aug 2014 00:38:49 +0000 (29 17:38 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 30 Aug 2014 00:38:49 +0000 (29 17:38 -0700)
tree6d8ac092067c046e724c095da5bc89fabb0fdaca
parent12a20f6df5c2e798e32c585b85b8685e310794bc
names: tighten up the requirements for project and user names

Project and user names must now start with a letter or digit.
Additionally the final component of a project name cannot end in '.'
(non-final project name components have never allowed a trailing '.').
Project names have never been allowed to end in '.git' now that match
is case insensitive.

Additionally, so that a project name can potentially be used as part
of a valid Git ref name, names now may not end in '.lock' (case
insensitively) nor contain a '..' sequence either.

Pre-existing projects that violate these restrictions will continue
to be accessible and editable but no new projects that violate the
new restrictions can be created.
Girocco/Project.pm
Girocco/User.pm
cgi/regproj.cgi