Skip to content

Fix: Handle URLs with protocol in Azure DevOps instance setting#41

Open
Sjoerd-Bo3 wants to merge 1 commit intoBoxThatBeat:masterfrom
Sjoerd-Bo3:fix/azure-devops-url-protocol
Open

Fix: Handle URLs with protocol in Azure DevOps instance setting#41
Sjoerd-Bo3 wants to merge 1 commit intoBoxThatBeat:masterfrom
Sjoerd-Bo3:fix/azure-devops-url-protocol

Conversation

@Sjoerd-Bo3
Copy link
Copy Markdown

Description

This PR fixes an issue where users entering URLs with protocols (http:// or https://) in the Azure DevOps instance setting would cause DNS resolution errors.

Fixes #40

Changes

  • Strip \ and \ protocols from instance URL if provided
  • Clarify that for cloud (dev.azure.com), organization should be part of instance URL
  • Clarify that collection field is ONLY for on-premises Azure DevOps Server
  • Update placeholder text to guide users correctly

Issue Fixed

When users enter \ in the instance field, it would cause a \ error because the URL would become \

Testing

  • ✅ Tested with cloud Azure DevOps (dev.azure.com/org format)
  • ✅ Tested with URLs containing https:// prefix
  • ✅ Verified that the protocol is properly stripped before constructing API URLs
  • ✅ Verified settings descriptions are clearer

- Strip http:// and https:// protocols from instance URL if provided
- Clarify that for cloud (dev.azure.com), organization should be part of instance URL
- Clarify that collection field is ONLY for on-premises Azure DevOps Server
- Update placeholder text to guide users correctly
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.

Azure DevOps instance URL fails when protocol is included

1 participant