Skip to content

Fix leading slash in redirects and add cop

What does this MR do?

Removes leading slashes in redirects that would cause 404 when gitlab is mounted under a subdirectory. Also adds a rubocop cop to avoid any future offences.

What are the relevant issue numbers?

Closes #50645 (closed) and #37423 (closed)

Does this MR meet the acceptance criteria?

~Manage frontend regression regression:11.3

Edited by Sanad Liaquat

Merge request reports