Error 404 when retrieving a specific branch via API
Summary
Up to 8.13 release, I could use this API to retrieve a specific branch information: GET /projects/:id/repository/branches/:branch
After upgrade, the same API returns a 404 Not Found error.
The API: GET /projects/:id/repository/branches is returning all branches as expected including the one that was not found in the previous call.
It seems related to the branch name. A branch called 'trunk' would work, but a branch named 'Release-1.2.3.P4' would not.
Steps to reproduce
Call the previous API on various branches.
Expected behavior
Receive the json response as describe in the documentation instead of a 404 error for existing branches.
Actual behavior
Receive a 404 error.
Relevant logs and/or screenshots
Call:
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://MyServer/api/v3/projects/8/repository/branches/Release-1.2.3.P4
Response:
{"error":"404 Not Found"}