Fix for broken tag/branch switcher
What does this MR do and why?
Fixes branch switcher when url contains page parameter
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Visit any > 2 blame page or just append ?page=1 to any blame page url
- Select any branch from switch branch/tag to see that the error message
"VERSION?page=1" did not exist on "some-branch-you-selected"
is shown on top and thatblame
stops. (well it could be that it is really doesn't exist, so make sure to pick something available in both branches)
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 #369446 (closed)
Edited by Nataliia Radina