Skip to content

GitLab no longer respecting configured git url from gitlab.rb in Clone widget after 15.10

Background: The Drupal project has a self-hosted, OSS/Ultimate self-hosted instance: https://gitlab.com/gitlab-com/marketing/community-relations/open-source-program/gitlab-open-source-partners/community-support/-/issues/4

Our GitLab instance is at: git.drupalcode.org For historical continuity with our previous git servers, our git urls have been configured to git.drupal.org

We have been using this configuration in gitlab.rb for the past couple of years:

https://docs.gitlab.com/ee/administration/geo/secondary_proxy/index.html

irb(main):001:0> Feature.enabled?(:geo_secondary_proxy_separate_urls)
=> true

head /etc/gitlab/gitlab.rb
external_url 'https://git.drupalcode.org'

gitlab_rails['gitlab_ssh_host'] = 'git.drupal.org'

However, after last week's security updates, the clone widget does not present the correct git.drupal.org url, but instead presents: git.drupalcode.org

image__3_

We believe this commit may be the cause of the regression: b1f76a6b