We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fbd5ae commit 83c90e9Copy full SHA for 83c90e9
modules/context/repo.go
@@ -236,7 +236,7 @@ func RedirectToRepo(ctx *Context, redirectRepoID int64) {
236
if ctx.Req.URL.RawQuery != "" {
237
redirectPath += "?" + ctx.Req.URL.RawQuery
238
}
239
- ctx.Redirect(redirectPath)
+ ctx.Redirect(path.Join(setting.AppSubURL, redirectPath))
240
241
242
func repoAssignment(ctx *Context, repo *models.Repository) {
0 commit comments