Fix branch switcher encoding issue
What does this MR do and why?
Fixes the issue where files branch names that include /
characters were not being loaded in the repository files browser.
Screenshots or screen recordings
How to set up and validate locally
- Create a branch containing special characters (including
/
) - Select the branch from the ref switcher in the project overview page
- The content should be loaded as expected
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #386598 (closed)
Edited by Jacques Erasmus