jenkinsci / jenkinsci/java-client-api
Bug: When jobName contains a Chinese character, the floder job creation failed!
Open
- Dominant language
- Java
- Stars
- 913
- Forks
- 466
- PR merge metrics
- No merged PRs in 30d
Description
The question may be: jobName is encoded two times.
**the first time:**
JenkinsServer.java Line 490
ImmutableMap params = ImmutableMap.of("mode", "com.cloudbees.hudson.plugins.folder.Folder",
"name", EncodingUtils.encodeParam(jobName), "from", "", "Submit", "OK");
**the second time:**
JenkinsHttpClient.java Line 296
queryParams.add("json=" + EncodingUtils.encodeParam(JSONObject.fromObject(data).toString()));
Contributor guide
Assessment
This issue has not been assessed yet.