mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-02 14:28:52 -05:00
Merge pull request 'Add -
as reserved user' (#6221) from fnetx/- into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6221 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
commit
a900775ada
1 changed files with 1 additions and 0 deletions
|
@ -586,6 +586,7 @@ var (
|
||||||
reservedUsernames = []string{
|
reservedUsernames = []string{
|
||||||
".",
|
".",
|
||||||
"..",
|
"..",
|
||||||
|
"-", // used by certain web routes
|
||||||
".well-known",
|
".well-known",
|
||||||
|
|
||||||
"api", // gitea api
|
"api", // gitea api
|
||||||
|
|
Loading…
Reference in a new issue