We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b45f4 commit c975c37Copy full SHA for c975c37
src/main/java/org/gitlab/api/GitlabAPI.java
@@ -615,7 +615,7 @@ public GitlabProject getProject(Serializable projectId) throws IOException {
615
* use namespace & project name to get project
616
*/
617
public GitlabProject getProject(String namespace, String projectName) throws IOException{
618
- String tailUrl = GitlabProject.URL + "/" + namespace + "%2F" + projectName;
+ String tailUrl = GitlabProject.URL + "/" + sanitizeGroupId(namespace) + "%2F" + sanitizeProjectId(projectName);
619
return retrieve().to(tailUrl, GitlabProject.class);
620
}
621
0 commit comments