summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-24 11:44:47 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-24 11:44:47 -0400
commit40b22822fcc082164b200d075708f00d977df67a (patch)
tree6d4474662a15390bc218a030bb5ac41882fe498b /models
parent1b3af2f6c692056b9fe59dcddb88eb445863cb93 (diff)
downloadgitea-40b22822fcc082164b200d075708f00d977df67a.tar.gz
gitea-40b22822fcc082164b200d075708f00d977df67a.zip
Update README
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 a76966b057..ff9090df36 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.