aws-samples / aws-samples/aws-lambda-function-url-secured

sigv4 not work when a url contains special characters like `(

Aperta
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
27
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When a url contains characters like `! ' ( ) *`, the signature calculated by the lambda in this sample becomes invalid. More details are in this issue https://github.com/smithy-lang/smithy-typescript/issues/1224

I'm not sure whether the deprecated package `@aws-sdk/signature-v4` will get the required patch, but it would be better to bundle the latest `@smithy/signature-v4` package in this Lambda.
https://github.com/aws-samples/aws-lambda-function-url-secured/blob/40eb7fed7d02edbb3f3f0ff2d969ed2ff73f8d6c/src/functions/auth/auth.mjs#L5

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.