DevHomeAzureExtension icon indicating copy to clipboard operation
DevHomeAzureExtension copied to clipboard

Some Azure DevOps Server URLs are falsely considered invalid

Open Az8th opened this issue 10 months ago • 2 comments

Dev Home version

0.1201.442.0

Dev Home Azure Extension version

0.700.442.0

Windows build number

22621.3447

Other software

Azure DevOps Server 2022.1 (20231128.1)

Steps to reproduce the bug

  1. Add a pull request widget
  2. Select account
  3. Add the repo URL (https://azdo.example.com/azdo/collection/project/_git/repository)
  4. Click on save

  1. Add a query result widget
  2. Select account
  3. Add the query URL (https://azdo.example.com/azdo/collection/project/_queries/query/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/)
  4. Click on save

Expected result

Plugins should work properly and accept the URL

Actual result

The specified URL is not a repository URL. or The specified URL is not a query URL. errors are raised.

Included System Information

Thanks for adding Azure DevOps Server support !

Unfortunately, it seems that the URL input handling is too sensitive, as if anything is put between the third / and collection, it is considered an unvalid url, despite being otherwise.

As any URL shoud be customizable (outside of the Azure DevOps API), I suggest to match this in the widget implementation.

Have a nice day !

Az8th avatar Apr 25 '24 10:04 Az8th