mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
[FIXED HUDSON-5072] use Util.rawEncode in getViewUrl so spaces are encoded
(as done in AbstractItem.getShortUrl) git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24707 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
66acb4d739
commit
d08181bb82
1 file changed
+1
-1
@@ -297,7 +297,7 @@ public abstract class View extends AbstractModelObject implements AccessControll
|
||||
* even for the default view.
|
||||
*/
|
||||
public String getViewUrl() {
|
||||
return (owner!=null ? owner.getUrl() : "") + "view/" + getViewName() + '/';
|
||||
return (owner!=null ? owner.getUrl() : "") + "view/" + Util.rawEncode(getViewName()) + '/';
|
||||
}
|
||||
|
||||
public String getSearchUrl() {
|
||||
|
||||
Reference in new issue
Block a user