Skip to content

fix: Fix URL encoding for refs containing special characters

What does this MR do and why?

Fix 404 error when clicking tags with special characters in MR page

Users encounter 404 errors when clicking on tags that contain special characters (such as "C#") from Merge Request pages
Root cause: The refs_list.vue file doesn't properly encode the ref parameter in the URL construction

References

Screenshots or screen recordings

6e7f1be2d9aab5bf508f6de32207c0a3

How to set up and validate locally

  1. Create a project with commits
  2. Create a tag with special characters (e.g. "C#")
  3. View commit details in MR page
  4. Click the tag - results in 404

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.

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading