1. Sebastian Sebastian
  2. scm-manager

Issues

Issue #483 resolved

Wrong Base URL in Git Repository view

Anonymous created an issue

Hi, when I access the Git Repository view (ex. https://my-scm-manager/git/MyProject), the Links to Commits and Source are not working, because instead of the configured base URL the links are generated with 127.0.0.1:8080 as the host. We are running scm-mamager behind a nginx HTTP Proxy and 127.0.0.1:8080 is where the tomcat is running internaly.

It seems, that getChangesetUrl and getBrowseUrl in line 150 and 151 in scm-git-plugin/src/main/java/sonia/scm/web/GitRepositoryViewer.java return a wrong url.