Skip to content

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:

Editing

Before After
New MR before Screenshot_2023-01-06_at_16.23.37

How to set up and validate locally

  1. Go to the legacy Web IDE (it is the default Web IDE in local GDK)
  2. Edit a file
  3. Click "Commit"
  4. Create a new branch with a name, containing #
  5. Check the "Start a new merge request"
  6. Commit the change
  7. 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.

Related to #364565 (closed)

Edited by Denys Mishunov

Merge request reports