Skip to content

fix git repo url

Yuriy Shatrov requested to merge fix/git-url into master

When creating a project, entering a repo url in form of git@gitlab.com:user/repo.git resulted in a broken output URL as git@git@gitlab.com:user/repo.git.git.

It seems this transformation is only intended for http[s] URLs and is useless in all other cases. There can potentially be ssh+git or other schemes, and users other than git, so it's reasonable to simply pass the value on unless it is an http[s] URL.

Edited by Yuriy Shatrov

Merge request reports