Bug: Semicolons aren't being escaped in API gateway integration request

0

We have an API gateway integration request for a GET request which has this set up under "URL Query String Parameters": Name: userAgent Mapped from: context.identity.userAgent

Here's a snippet of the URL that we get from AWS in the integration request: &userAgent=Mozilla/5.0+(compatible;+Google-Apps-Script;+beanserver;+%2Bhttps://script.google.com;+id:+UAEmdDd-JF_eZcep6pqc2VRUjSlsCUIm-NA)&page=16

As you can see, some characters are properly escaped. However, the semicolon is not being properly escaped. Semicolons in URI parameter values are supposed to be URI escaped. Please fix this.

1 Risposta
0

This is a known behaviour, semicolons are not escaped. It's listed under important notes in the documentation. Been like this for a long time, I don't expect it to change. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-known-issues.html#api-gateway-known-issues-rest-apis

profile picture
ESPERTO
con risposta 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande