Explorar o código

Merge branch 'master' of gitote.in:gitote/gitote

Yoginth %!s(int64=7) %!d(string=hai) anos
pai
achega
038948bb11
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      routes/repo/issue.go

+ 2 - 2
routes/repo/issue.go

@@ -1251,7 +1251,7 @@ func ChangeMilestonStatus(c *context.Context) {
 				return
 			}
 		}
-		c.Redirect(c.Repo.RepoLink + "/milestones?state=open")
+		c.RawRedirect(c.Repo.RepoLink + "/milestones?state=open")
 	case "close":
 		if !m.IsClosed {
 			m.ClosedDate = time.Now()
@@ -1260,7 +1260,7 @@ func ChangeMilestonStatus(c *context.Context) {
 				return
 			}
 		}
-		c.Redirect(c.Repo.RepoLink + "/milestones?state=closed")
+		c.RawRedirect(c.Repo.RepoLink + "/milestones?state=closed")
 	default:
 		c.Redirect(c.Repo.RepoLink + "/milestones")
 	}