You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected that the variable group contents would be returned as a PSObject
Actual behavior?
Three exceptions in a row.
This is a bigger issue than just Get-VSTeamVariableGroup; chances are other cmdlets that take a string parameter that goes directly into the API don't URLEncode them either.
Refactor to get rid of crude and incorrect _appendQueryString. Query string parameter values that can potentially be strings should be URLEncoded. Also, _appendQueryString was assuming that the URL already had a query string and produced invalid URLs if the API version was blank.
Fixes#442, #517
---------
Co-authored-by: Seva Alekseyev <[email protected]>
Co-authored-by: Sebastian Schütze <[email protected]>
Steps to reproduce
Expected behavior
I expected that the variable group contents would be returned as a PSObject
Actual behavior?
Three exceptions in a row.
This is a bigger issue than just Get-VSTeamVariableGroup; chances are other cmdlets that take a string parameter that goes directly into the API don't URLEncode them either.
On Which OS have you tried it?
Windows
What was your server version?
Azure DevOps Server 2020
Other server version
No response
Log output of used API
Log output of $PSVersionTable
The text was updated successfully, but these errors were encountered: