apex / apex/gateway

Query parameters get reencoded for GET requests

Aperta
#40 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
651
Fork
75
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When someone makes a GET request with encoded query parameters like
?phone=%2B919999999999
It is reencoded by the NewRequest function in the package to
?phone=%252B919999999999

which cannot be decoded back to the original +919999999999 resulting in issues with go's inbuilt r.URL.Query() and other functions.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.