From 7f53fcaf2fffd1869d9cdf3732083478d691559e Mon Sep 17 00:00:00 2001 From: Flare Date: Tue, 4 Oct 2016 15:25:25 +0800 Subject: [PATCH] Added public entries to reserved keywords list --- models/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/user.go b/models/user.go index 946c6c94d..06bce238e 100644 --- a/models/user.go +++ b/models/user.go @@ -488,7 +488,7 @@ func NewGhostUser() *User { } var ( - reversedUsernames = []string{"debug", "raw", "install", "api", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new", ".", ".."} + reversedUsernames = []string{"assets", "css", "img", "js", "less", "plugins", "debug", "raw", "install", "api", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new", ".", ".."} reversedUserPatterns = []string{"*.keys"} )