Skip to content

Commit

Permalink
[FIXED SECURITY-108] Check job name created via CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
vjuranek authored and jglick committed Feb 11, 2014
1 parent 622e39f commit ad38d84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/hudson/cli/CreateJobCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ protected int run() throws Exception {
name = name.substring(i + 1);
}

Jenkins.checkGoodName(name);
ig.createProjectFromXML(name, stdin);
return 0;
}
Expand Down

0 comments on commit ad38d84

Please sign in to comment.