Skip to content

Fix branch switcher encoding issue

Jacques Erasmus requested to merge 386598-fix-branch-encoding-issue into master

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

Screen_Recording_2023-01-03_at_11.02.01.2023-01-03_11_04_37

How to set up and validate locally

  1. Create a branch containing special characters (including /)
  2. Select the branch from the ref switcher in the project overview page
  3. 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.

Related to #386598 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading