Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-17317] rawEncode should be used instead of encode
(cherry picked from commit 477e897)
  • Loading branch information
Seiji Sogabe authored and olivergondza committed Sep 23, 2013
1 parent f912de7 commit e387005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/MyViewsProperty.java
Expand Up @@ -145,7 +145,7 @@ public View getPrimaryView() {
}

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

public synchronized void doCreateView(StaplerRequest req, StaplerResponse rsp)
Expand Down

0 comments on commit e387005

Please sign in to comment.