1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 12:44:49 -05:00

Add - as reserved user

used in routers such as
af640ac4d4/routers/init.go (L185)
This commit is contained in:
Otto Richter 2024-12-09 18:44:08 +01:00
parent af640ac4d4
commit 5f173bdab3

View file

@ -586,6 +586,7 @@ var (
reservedUsernames = []string{
".",
"..",
"-", // used by certain web routes
".well-known",
"api", // gitea api