-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize server URLs to avoid missing scheme #4780
Normalize server URLs to avoid missing scheme #4780
Conversation
This changes the output slightly (no more user in the URL) but that is fine as the user is not required/used in matching anyway. Also fixed the comment and exception text.
GitLab, scm.company.com/context/gitlab, group/subgroup/repo, https, https://scm.company.com/context/gitlab/group/subgroup/repo.git | ||
GitLab, scm.company.com:8443/context/gitlab, group/subgroup/repo, https, https://scm.company.com:8443/context/gitlab/group/subgroup/repo.git | ||
GitLab, scm.company.com/context/gitlab, group/subgroup/repo, ssh, ssh://[email protected]:8022/context/gitlab/group/subgroup/repo.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you confirm this will not cause problem when trying to close using ssh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, thinking some more on it maybe this can cause problems if a local env requires it to match the right user/pw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted and changed to normalize on the fly during protocol matching
This changes the output slightly (no more user in the URL) but that is fine as the user is not required/used in matching anyway.
Also fixed the comment and exception text.