[FIXED SECURITY-108] Check job name created via CLI

This commit is contained in:
Vojtech Juranek authored and Jesse Glick committed 2014-02-11 14:22:39 -05:00
1 parent 622e39f8b4
commit ad38d8480f
1 file changed
+1
@@ -72,6 +72,7 @@ public class CreateJobCommand extends CLICommand {
name = name.substring(i + 1);
}
Jenkins.checkGoodName(name);
ig.createProjectFromXML(name, stdin);
return 0;
}