diff options
author | Unknwon <u@gogs.io> | 2015-09-07 11:51:53 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-07 11:51:53 -0400 |
commit | 56eb25209817833613a9f69fb6011f30bdef7677 (patch) | |
tree | 8fc596b63a4845c7d8ec8af8b5daabc1a4ec9e6e /cmd/web.go | |
parent | 645d4d0c5bd283003d922400232bcff0f5bf8836 (diff) | |
download | gitea-56eb25209817833613a9f69fb6011f30bdef7677.tar.gz gitea-56eb25209817833613a9f69fb6011f30bdef7677.zip |
#1593 fix repo name router bug
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index 131c839a13..842787dd00 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -545,7 +545,7 @@ func runWeb(ctx *cli.Context) { m.Group("/:username", func() { m.Group("/:reponame", func() { m.Get("", repo.Home) - m.Get(".git", repo.Home) + m.Get("\\.git", repo.Home) }, ignSignIn, middleware.RepoAssignment(true, true), middleware.RepoRef()) m.Group("/:reponame", func() { |