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

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

未关闭
#20 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
27
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。