Relative Url feature is not compatible with localStorage

Summary

It's possible to install Gitlab with relative url : https://docs.gitlab.com/ee/install/relative_url.html#install-gitlab-under-a-relative-url But if you install two instances on same domain, there are some conflicts with datas in localStorage : user/frequent-groups and user/frequent-projects (and maybe MergeRequests cache ?). So Frequent Groups/projects menus are the same for the two instances.

Steps to reproduce

Install two instances with relative url : http://localhost/gitlab1 http://localhost/gitlab2

Create projects and Groups Browse pages across

Example Project

N/A

What is the current bug behavior?

Frequent Groups/projects menus are the same for the two instances.

What is the expected correct behavior?

Frequent Groups/projects menus should be relative to their own instance.

Possible fixes

You could use a prefix containing relative_url for each key like that : relative_url/user/frequent-projects

Assignee Loading
Time tracking Loading