DevHomeAzureExtension
DevHomeAzureExtension copied to clipboard
Some Azure DevOps Server URLs are falsely considered invalid
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
- Add a pull request widget
- Select account
- Add the repo URL (https://azdo.example.com/azdo/collection/project/_git/repository)
- Click on save
- Add a query result widget
- Select account
- Add the query URL (https://azdo.example.com/azdo/collection/project/_queries/query/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/)
- 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 !