Skip to content

Commit

Permalink
[FIXED JENKINS-17317] ”My Views" links leads to 404 Not Found.
Browse files Browse the repository at this point in the history
(cherry picked from commit d33e22d)

Conflicts:
	changelog.html
  • Loading branch information
ssogabe authored and olivergondza committed Sep 23, 2013
1 parent f9e176a commit f912de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/hudson/model/MyViewsProperty.java
Expand Up @@ -145,7 +145,7 @@ public View getPrimaryView() {
}

public HttpResponse doIndex() {
return new HttpRedirect("view/" + getPrimaryView().getViewName() + "/");
return new HttpRedirect("view/" + Util.encode(getPrimaryView().getViewName()) + "/");
}

public synchronized void doCreateView(StaplerRequest req, StaplerResponse rsp)
Expand Down Expand Up @@ -262,5 +262,5 @@ public String getUrlName() {
}

}

}

0 comments on commit f912de7

Please sign in to comment.