CodeGenieApp / CodeGenieApp/serverless-express

Unable to Escape Special Characters When using ALB, works fine with Lamda's

Aperta
#552 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
5.3k
Fork
676
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello Team, Our team has hit a BLOCKER in-terms of not being able to escape special characters when used it with ALB.

Please find the code here : https://github.com/go2sujeet/nest-lambda-yarn/blob/master/src/lambda.ts

LAMBDA Function CURL Invocation
```
sujeet@sujeets-MacBook-Air ~ % curl --location --request GET 'https://dchgdjt2zdsrn5k73wj74xylry0chxrb.lambda-url.us-east-1.on.aws/greet?name=John+Henry&greeting=HOW+ARE+YOU+?'
Hello John Henry, HOW ARE YOU ?%
```
ALB Function CURL Invocation
```
sujeet@sujeets-MacBook-Air ~ % curl --location --request GET 'alb-1083224165.us-east-1.elb.amazonaws.com/greet?name=John+Henry&greeting=HOW+ARE+YOU+?'
Hello John+Henry, HOW+ARE+YOU+?% sujeet@sujeets-MacBook-Air ~ %
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.