diff options
Diffstat (limited to 'routers/web/repo')
-rw-r--r-- | routers/web/repo/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/pull.go b/routers/web/repo/pull.go index 70bbfeaca9..ec28e60fc9 100644 --- a/routers/web/repo/pull.go +++ b/routers/web/repo/pull.go @@ -1469,7 +1469,7 @@ func CompareAndPullRequestPost(ctx *context.Context) { return } ctx.Flash.Error(flashError) - ctx.JSONRedirect(pullIssue.Link()) // FIXME: it's unfriendly, and will make the content lost + ctx.JSONRedirect(ctx.Link + "?" + ctx.Req.URL.RawQuery) // FIXME: it's unfriendly, and will make the content lost return } ctx.ServerError("NewPullRequest", err) |