Skip to content
Browse files

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

  • Loading branch information...
1 parent 622e39f commit ad38d8480f20ce3cbf8fec3e2003bc83efda4f7d @vjuranek vjuranek committed with jglick Feb 7, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/src/main/java/hudson/cli/CreateJobCommand.java
View
1 core/src/main/java/hudson/cli/CreateJobCommand.java
@@ -72,6 +72,7 @@ protected int run() throws Exception {
name = name.substring(i + 1);
}
+ Jenkins.checkGoodName(name);
ig.createProjectFromXML(name, stdin);
return 0;
}

0 comments on commit ad38d84

Please sign in to comment.
Something went wrong with that request. Please try again.