Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit ad38d8480f20ce3cbf8fec3e2003bc83efda4f7d 1 parent 622e39f
@vjuranek vjuranek authored jglick committed
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.