diff options
author | Andreas Shimokawa <shimokawa@fsfe.org> | 2019-07-26 22:06:21 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-07-26 16:06:21 -0400 |
commit | cdaf9a5ef5b71a6ddaa8f53fca2aac619203ff68 (patch) | |
tree | f1a00adeaff18c69354bf16f4d8cfb8527ea06e8 /models/user.go | |
parent | c22b7416e4fb8eb9de0cb9f90ae251415cf46ef3 (diff) | |
download | gitea-cdaf9a5ef5b71a6ddaa8f53fca2aac619203ff68.tar.gz gitea-cdaf9a5ef5b71a6ddaa8f53fca2aac619203ff68.zip |
reserve .well-known username (#7637)
Diffstat (limited to 'models/user.go')
-rw-r--r-- | models/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/user.go b/models/user.go index 1d80f7836a..aa3e527cd5 100644 --- a/models/user.go +++ b/models/user.go @@ -783,6 +783,7 @@ var ( "robots.txt", ".", "..", + ".well-known", } reservedUserPatterns = []string{"*.keys", "*.gpg"} ) |