Azure / Azure/api-management-developer-portal
`&` sign in response from Try it translates to `\u0026`
- Dominant language
- TypeScript
- Stars
- 545
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
## 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:

From the response in Bruno:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the API call through the developer portal's "Try it" functionality and compare its displayed response with the same request in curl, Postman, or Bruno. Trace the response-rendering entry point used by "Try it"; done means URLs containing ampersands are displayed exactly as returned, without the added backslash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100