aboutsummaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 00:02:37 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 00:02:37 +0800
commit8909935a1049dea3783021f0460118ad838b1dfd (patch)
tree00d23ec41174cda54d5bf2de1175a9d635b75f9a /models
parent62b05c1e228f1a570a97e6957c45e018262f812f (diff)
parent6302f5462890b455cb306fc3925c71850a6e1dfb (diff)
Merge branch 'master' of https://github.com/gogits/gogs
Diffstat (limited to 'models')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index 6cbfaf10..d5f9be72 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -109,7 +109,7 @@ func IsRepositoryExist(user *User, repoName string) (bool, error) {
var (
// Define as all lower case!!
- illegalPatterns = []string{"[.][Gg][Ii][Tt]", "user", "help", "stars", "issues", "pulls", "commits", "admin", "repo", "template", "admin"}
+ illegalPatterns = []string{"[.][Gg][Ii][Tt]", "raw", "user", "help", "stars", "issues", "pulls", "commits", "admin", "repo", "template", "admin"}
)
// IsLegalName returns false if name contains illegal characters.