Resolve "Get the latest release api produces 404 when tag name has / character"
What does this MR do and why?
This MR updates the latest release api to encode the tag name. This way, the correct tag is requested for the release.
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
- Visit Code -> Tags and create a tag with a slash in the name
- Visit Deploy -> Releases and create a release using this tag
- Request the latest release by fetching
GET /projects/:id/releases/permalink/latest - Verify the correct release data is returned
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #499679 (closed)



