CodeGenieApp / CodeGenieApp/serverless-express

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

Open
#552 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
676
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.