diff options
author | lunnyxiao <xiaolunwen@gmail.com> | 2014-09-22 10:45:20 +0800 |
---|---|---|
committer | lunnyxiao <xiaolunwen@gmail.com> | 2014-09-22 10:45:20 +0800 |
commit | 79ec08141af6f156597064f5fcafc4d0af2e1a05 (patch) | |
tree | a4bc8452565eb2ac1fe2b432b1616c03572db7da /routers/repo | |
parent | 150eef93b2340f665c070158ade1863339829e05 (diff) | |
parent | 1273b3d3a985e0aeb88c632e27d0e8dbc8dd2e19 (diff) | |
download | gitea-79ec08141af6f156597064f5fcafc4d0af2e1a05.tar.gz gitea-79ec08141af6f156597064f5fcafc4d0af2e1a05.zip |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'routers/repo')
-rw-r--r-- | routers/repo/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 3a028e58ff..f854a22bbc 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -54,7 +54,7 @@ func Issues(ctx *middleware.Context) { isShowClosed := ctx.Query("state") == "closed" if viewType != "all" && !ctx.IsSigned { - ctx.SetCookie("redirect_to", "/"+url.QueryEscape(setting.AppSubUrl+ctx.Req.RequestURI)) + ctx.SetCookie("redirect_to", "/"+url.QueryEscape(setting.AppSubUrl+ctx.Req.RequestURI), 0, setting.AppSubUrl) ctx.Redirect(setting.AppSubUrl + "/user/login") return } |