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.
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
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