]> source.dussan.org Git - gitea.git/commit
#3229 disallow repository name . and ..
authorUnknwon <u@gogs.io>
Thu, 7 Jul 2016 23:34:05 +0000 (07:34 +0800)
committerUnknwon <u@gogs.io>
Thu, 7 Jul 2016 23:34:05 +0000 (07:34 +0800)
commite30c7013862a9d2c2ae60e403a1624e54475c4c7
treeabb42971d394c9db63443b842f6e6881002b32c7
parent401bf944ef4b09e7d4ca85d7272dbd32e7e950a0
#3229 disallow repository name . and ..

Since . and .. has browser automatical behaviors, we need to disallow those names.
models/repo.go