-
Notifications
You must be signed in to change notification settings - Fork 157
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
URLEncoding of query string parameters #523
URLEncoding of query string parameters #523
Conversation
@SebastianSchuetze The tests are failing for me on PowerShell 5 because
|
Do you mean they fail locally on your machine or are you talking about the test failing in the pipeline. In the future PS5 was planned to not be supported anymore with VSTeam. That would be Version 8.0.0. As for now I would suggest the one that makes the shift as easy as possible to version 8 but still working with 7.x. Which would be the best option from your side? |
Failing on my machine. There is no PS5 build in the pipeline. I'd prefer to remove the -Depth. This will break nothing. PS5.1 is still the version that ships with Windows 10/11 and Windows Server. PS 6-7 is an optional install. |
@SebastianSchuetze Ready, |
PR Summary
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
PR Checklist