summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
authorAndreas Shimokawa <shimokawa@fsfe.org>2019-07-26 22:06:21 +0200
committertechknowlogick <techknowlogick@gitea.io>2019-07-26 16:06:21 -0400
commitcdaf9a5ef5b71a6ddaa8f53fca2aac619203ff68 (patch)
treef1a00adeaff18c69354bf16f4d8cfb8527ea06e8 /models/user.go
parentc22b7416e4fb8eb9de0cb9f90ae251415cf46ef3 (diff)
downloadgitea-cdaf9a5ef5b71a6ddaa8f53fca2aac619203ff68.tar.gz
gitea-cdaf9a5ef5b71a6ddaa8f53fca2aac619203ff68.zip
reserve .well-known username (#7637)
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go1
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"}
)