Skip to content
Permalink
Browse files

[JENKINS-17317] rawEncode should be used instead of encode

(cherry picked from commit 477e897)
  • Loading branch information...
Seiji Sogabe authored and olivergondza committed Apr 12, 2013
1 parent f912de7 commit e387005fad7d87191feb1995715bc8e3788ff81d
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/hudson/model/MyViewsProperty.java
@@ -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)

0 comments on commit e387005

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