CodeGenieApp / CodeGenieApp/serverless-express

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

Offen
#552 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
5.3k
Forks
676
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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 ~ %
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.