Fix URL generation for links with spaces
What does this MR do and why?
Contributes to #470038
Problem
project_network_path
doesn't use @ref
with an extracted reference in
NetworkController
. The URL generation fails and returns a 500 error.
Solution
Provide a correct reference object to project_network_path
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Visit http://gdk.test:3000/gitlab-org/gitlab-test/-/network/main/%20
- The page should load without a 500 error