Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`&` sign in response from Try it translates to `\u0026`

tlfzhylj opened this issue · comments

Bug description

In one of our APIs we return a URL in the response. The URL consist of & signs. If we test the API with the "Try it" functionality in the developer portal the URL in the response the & sign is translated to \u0026. If we do the same request from curl, Postman, Bruno, etc. the URL is formatted correctly with the & sign.

Expected behavior

Developer portal should not translate things in the response, and just show the response as it actually is.

Is your portal managed or self-hosted?

Managed

Additional context

From the response in the developer portal:
Screenshot 2024-05-02 at 10 40 07

From the response in Bruno:
Screenshot 2024-05-02 at 10 42 50