CodeGenieApp / CodeGenieApp/serverless-express

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

Abierto
#552 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
5.3k
Forks
676
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, express, javascript, node.js
Área
api, backend, cloud
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.