提交 8c69a750 编写于 作者: K kohsuke

Allowing '(' and ')' as view/job names


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7485 71c3de6d-444a-0410-be80-ed276b4c234a
上级 209e5602
......@@ -1645,7 +1645,7 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node,
char ch = name.charAt(i);
if(Character.isISOControl(ch))
throw new ParseException(Messages.Hudson_ControlCodeNotAllowed(),i);
if("?*()/\\%!@#$^&|<>[]:;".indexOf(ch)!=-1)
if("?*/\\%!@#$^&|<>[]:;".indexOf(ch)!=-1)
throw new ParseException(Messages.Hudson_UnsafeChar(ch),i);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册