From 5020576e8071637ecdedade6c3c4fe06588e3754 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 7 Sep 2015 11:56:06 -0400 Subject: [PATCH] minor regexp fix on #1593 --- cmd/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/web.go b/cmd/web.go index 842787dd004..72dd307378a 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() {