Tricentis / qTest.Integration.Pulse

MIT License
12 stars 12 forks source link

Defect: ADO Integration, AzDo URL Constant URL encoded issues #8

Closed qaschris closed 5 months ago

qaschris commented 2 years ago

ADO URL Constant: If an end user pastes in a URL from a browser, it generally will already be URL encoded, but the code is URL encoding the value, thus breaking all encoding by replacing the percent signs with URL encoded versions.

Expected Behavior

The URL should not be re-encoded if already encoded.

Current Behavior

Already URL encoded characters are broken by being re-encoded.

Ex. https://dev.azure.com/Project/qTest%20Integration becomes https://dev.azure.com/Project/qTest%2520Integration

Possible Solution

a) explore writing a function to check if the string was previously encoded b) explore writing a function to check if the string contains URL-illegal characters

qaschris commented 5 months ago

Fix will be delivered in new release.