提交 d75da585 编写于 作者: K kohsuke

fixed #321.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2332 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6f4040c1
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson">
<st:contentType value="application/x-java-jnlp-file" />
<j:new var="h" className="hudson.Functions" />
<j:set var="rootURL"
value="${request.scheme}://${request.serverName}:${request.serverPort}${request.contextPath}" />
......@@ -9,7 +10,7 @@
<l:isAdmin>
<!-- See http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html for the syntax -->
<jnlp spec="1.0+"
codebase="${rootURL}/computer/${it.node.nodeName}/">
codebase="${rootURL}/computer/${h.encode(it.node.nodeName)}/">
<information>
<title>Slave Agent for ${it.displayName}</title>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册