git-credential-manager icon indicating copy to clipboard operation
git-credential-manager copied to clipboard

azure-repos: fix org name in userinfo

Open mjcheetham opened this issue 2 years ago • 0 comments

Fix a bug in the Azure Repos host provider that prevented the Azure DevOps organisation name from being pulled from the userinfo part of the remote URL.

When creating the remote URL from Git input in multiple places we had not been preserving the userinfo part that was subsequently passed to the CreateOrganizationUri helper method to extract the org URL.

Also add an additional test for PAT mode to cover this use case.

Fixes #1520

mjcheetham avatar Jan 25 '24 11:01 mjcheetham