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

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

Đang mở
#20 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
27
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.