Skip to content

Use relative URL for projects to avoid storing domains

Kushal Pandya requested to merge 40895-fix-frequent-projects-stale-path into master

What does this MR do?

Uses project_path helper to get project path while logging a project for frequent access as this removes any dependency on domain root which can change leading to broken links.

Why was this MR needed?

Older implementation of Projects dropdown stored full project path (including domain name), and this could be a problem when domain is changed or HTTPS is turned without auto-redirect leading to invalid links stored in localStorage.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #40895 (closed)

Edited by Kushal Pandya

Merge request reports

Loading