Skip to content
Permalink
Browse files

[FIXED JENKINS-17317] ”My Views" links leads to 404 Not Found.

(cherry picked from commit d33e22d)

Conflicts:
	changelog.html
  • Loading branch information...
ssogabe authored and olivergondza committed Apr 10, 2013
1 parent f9e176a commit f912de7c2b3459b989b2ca3f5e609e2d026b180f
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/main/java/hudson/model/MyViewsProperty.java
@@ -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)
@@ -262,5 +262,5 @@ public String getUrlName() {
}

}

}

0 comments on commit f912de7

Please sign in to comment.
You can’t perform that action at this time.