Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
486 stars 315 forks source link

Fixed adding parameters for GraphQL APIs that already have parameters #2286

Closed malincrist closed 1 year ago

malincrist commented 1 year ago

Problem

Adding parameters from the test console for GraphQL APIs that already have a parameter in the URL results in miss-formatted URLs with double '?' This problem occurs because our code checks for the '?' character only within the portion of the URL we create when adding query parameters.

Solution

Check for '?' throughout the entire URL, ensuring that we do not duplicate it.

Closes #2281

github-actions[bot] commented 1 year ago

Accessibility Insights Accessibility Insights Action: All applicable checks passed