Skip to content

commitsApi.getCommit(projectId, branchName) fails with 404 if slash in branch name #328

@SamerAdra

Description

@SamerAdra

When I call, e.g., commitsApi.getCommit(1672, "feature/my-feature-name"), it throws a GitLabApiException with "404 Not Found."

When I URL-encode the branch name, it succeeds.

Using 4.9.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions