Skip to content

Fix commits ref switcher

Jacques Erasmus requested to merge fix-commits-ref-switcher into master

What does this MR do and why?

Fixes the ref switcher on the commits page when selecting a branch/ref containing special characters.

Screenshots or screen recordings

before after
Screen_Recording_2023-03-31_at_11.08.00.2023-03-31_11_09_13 Screen_Recording_2023-03-31_at_11.08.27.2023-03-31_11_10_21

How to set up and validate locally

  1. Create a branch containing a special character (branch-#-hash)
  2. Navigate to Project > Commits
  3. Select the branch created in Step 1
  4. The page should load/work 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.

Edited by Jacques Erasmus

Merge request reports

Loading