api-management-developer-portal
api-management-developer-portal copied to clipboard
Impossible to generate requests with "%2F"
Bug description
It is not possible to generate requests containing %2F
, the singly encoded /
from the tester UI.
Reproduction steps
Steps to reproduce the behavior:
- Click an API Operation
- Click the "Test" heading
- Provide an input field (template parameter or query parameter)
a. A value containing
/
b. A value containing%2F
The result of test 3.a is that the slash passes through and shows up in the trace as /
.
The result of test 3.b is that the %2F
is re-encoded and shows up in the trace as %252F
This makes it impossible to generate requests with parameters that singly-encode /
as %2F
.
Expected behavior
Either
A. the /
character should be encoded as %2F
,
B. the %
character should not be re-encoded, or
C. the encoding behavior of these fields should be user-controllable.
Is your portal managed or self-hosted?
Managed
API Management service name
Message kybrown for service details if needed.
@Kylebrown9, thank you for opening this issue. We will triage it within the next few business days.
@Kylebrown9, thank you for reporting the bug.