Skip to content
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

handling trailing slashes in service url #474

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

polatengin
Copy link
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.

@polatengin polatengin self-assigned this Sep 26, 2024
@polatengin polatengin requested review from a team as code owners September 26, 2024 17:17
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