CodeGenieApp / CodeGenieApp/serverless-express
Unable to Escape Special Characters When using ALB, works fine with Lamda's
- 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
Research direction
Start with the linked src/lambda.ts and reproduce the two curl requests to compare query-string handling through Lambda URLs and the ALB. Done means special characters and spaces are interpreted consistently for both invocation paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, express, javascript, node.js
- Domain
- api, backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100