Fixed the URL generation for new MR from IDE
What does this MR do and why?
The MR fixes the URL generation for the new MRs when created from the legacy Web IDE. The real problem leading to this MR is discussed in a related issue and is related to the MR created for a branch, containing #
sign in the name.
Screenshots or screen recordings
The issue can be observed when creating both: a new branch and a new MR from the legacy Web IDE:
Before | After |
---|---|
How to set up and validate locally
- Go to the legacy Web IDE (it is the default Web IDE in local GDK)
- Edit a file
- Click "Commit"
- Create a new branch with a name, containing
#
- Check the "Start a new merge request"
- Commit the change
- The page should automatically reload to the new MR edit page
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 #364565 (closed)
Edited by Denys Mishunov