Skip to content

configuring a relative url breaks links

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

relative path config breaks link generation when main page is visited by clicking the GitLab logo

Steps to reproduce

  1. configure non-root path (https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-a-relative-url-for-gitlab)
  2. login
  3. click the top left GitLab logo to open the main page (listing your projects)
  4. click any project

What is the current bug behavior?

the link does NOT include the configured path, links to the root path which leads outside GitLab

What is the expected correct behavior?

the link includes the configured relative path

Possible fixes

only visit the project list by clicking "Projects" -> "Your projects"

frontend in GitLab FOSS

Edited by 🤖 GitLab Bot 🤖