When testing an API in the Portal with the TryIt Feature. The values entered for parameters are not encoded. Get Requests fail when using reserved characters like &.
Reproduction steps
Go to the developer portal
Click on an API
Select a Get request with a parameter.
Add a parameter.
Enter a value with the & character.
Expected behavior
Url Encode Values Automatically or checkbox to allow encoding
Is your portal managed or self-hosted?
Managed
Environment
Operating system: Windows 10
Browser:Google Chrome
Version: [e.g., 22]
Additional context
EX: P&T will yield /qac/factories/search?name=P&T&country=USA [does not work]
and
EX: P%16T will yield /qac/factories/search?name=P%16T&country=USA [Works obviously]
Is this by Design and is there a way to turn on UrlEncoding in the portal automaticly I do not see a way to do so.
Bug description
When testing an API in the Portal with the TryIt Feature. The values entered for parameters are not encoded. Get Requests fail when using reserved characters like &.
Reproduction steps
Expected behavior
Url Encode Values Automatically or checkbox to allow encoding
Is your portal managed or self-hosted?
Managed
Environment
Additional context
EX: P&T will yield /qac/factories/search?name=P&T&country=USA [does not work]
and
EX: P%16T will yield /qac/factories/search?name=P%16T&country=USA [Works obviously]
Is this by Design and is there a way to turn on UrlEncoding in the portal automaticly I do not see a way to do so.