This release tightens which hosts a Generic Git repository may point at. If your Git server is on a private network, set GIT_ALLOWED_PRIVATE_HOSTS before upgrading.

Improvements

  • Generic Git network access: Generic Git URLs now have to resolve to public IP addresses. This is checked when a repository is added and on every sync, including when a URL redirects elsewhere. Git servers on a private network are allowed by listing their exact hostname or IP address in GIT_ALLOWED_PRIVATE_HOSTS. Existing Generic Git repositories on a private host stop syncing until their host is added to that list. GitHub, GitLab and Bitbucket repositories are not affected.
  • Address validation: Mirror and Generic Git URLs that write an IP address in a non-standard notation (such as a leading zero) are now rejected.

Fixes

  • Fixed host lookups for mirrors hanging or failing on servers with a DNS search domain configured