mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 22:12:25 +00:00
[FIXED SECURITY-108] Check job name created via CLI
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user