summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-07-01 17:13:20 +0200
committerGitHub <noreply@github.com>2021-07-01 23:13:20 +0800
commit290f458d46d4774ac47dca40af4e1c8b9bea755e (patch)
treee5e9183ad266065eb1f751714bfee322c3283813 /models/user.go
parentfc1d9629c61a6beb4afc92aee2c34292a919a1c3 (diff)
downloadgitea-290f458d46d4774ac47dca40af4e1c8b9bea755e.tar.gz
gitea-290f458d46d4774ac47dca40af4e1c8b9bea755e.zip
Reserve user/repo pattern for rss feature (#16323)
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index 47d24aefd6..ce96a144af 100644
--- a/models/user.go
+++ b/models/user.go
@@ -814,7 +814,7 @@ var (
"user",
}
- reservedUserPatterns = []string{"*.keys", "*.gpg"}
+ reservedUserPatterns = []string{"*.keys", "*.gpg", "*.rss", "*.atom"}
)
// isUsableName checks if name is reserved or pattern of name is not allowed