提交 92d96525 编写于 作者: J Jesse Glick

Computer.getUrl was incorrect when the slave had a space in its name.

This broke the context menu for actions contributed via TransientComputerActionFactory (at least).
上级 21912fe3
......@@ -622,7 +622,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
}
public String getUrl() {
return "computer/"+getDisplayName()+"/";
return "computer/" + Util.rawEncode(getDisplayName()) + "/";
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册