提交 2c4d8b4d 编写于 作者: K Kohsuke Kawaguchi

absolute path shouldn't resolve from the current parent.

上级 ab1aacf5
......@@ -144,7 +144,9 @@ public abstract class ItemGroupMixIn {
String from = req.getParameter("from");
// resolve a name to Item
Item src = parent.getItem(from);
Item src = null;
if (!from.startsWith("/"))
src = parent.getItem(from);
if (src==null)
src = Hudson.getInstance().getItemByFullName(from);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册