Skip to content

Fix ref encoding issue

Jacques Erasmus requested to merge 385038-fix-ref-encoding into master

What does this MR do and why?

When viewing a repository branch containing a special character in the branch name, the commit data was not being loaded correctly.

The reason for this was that the ref was not being encoded.

Screenshots or screen recordings

Screen_Recording_2022-12-20_at_11.44.39.2022-12-20_11_45_43

How to set up and validate locally

  1. Create a branch containing a special character in the name
  2. Select the branch in the ref switcher
  3. The Files an commit data 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 #385038 (closed)

Edited by Jacques Erasmus

Merge request reports