Skip to content

handling trailing slashes in service url - #474

Open
Engin Polat (polatengin) wants to merge 2 commits into
masterfrom
polatengin/handling-trailing-slashes-in-service-url
Open

handling trailing slashes in service url#474
Engin Polat (polatengin) wants to merge 2 commits into
masterfrom
polatengin/handling-trailing-slashes-in-service-url

Conversation

@polatengin

Copy link
Copy Markdown
Collaborator

When Service Url asked during login, we get it from the browser window address url, like;

https://dev.azure.com/contoso/

Trailing slash makes the login command fail

This PR filters out empty items of the string array after splitting the path by /

So, parsing Service Url succeeds and login operation continues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant