Skip to content

Conversation

@benclarkmck
Copy link
Contributor

@benclarkmck benclarkmck commented Nov 21, 2025

Issue

#7470
#7437 (comment)

Description

using the extended encoding encodes characters that do not need to be encoded, resulting in invalid signed urls

Testing

Updated the unit test
Manually tested against an internal app that is currently broken with the latest version

Additional context

I was not sure if the extended encoding is important or not for the cloudfront parameters that get added, so I've left it there (line 143), I suspect though that it's unnecessary but have no idea how to confirm

Checklist

  • If the PR is a feature, add integration tests (*.integ.spec.ts). (N/A)
  • If you wrote E2E tests, are they resilient to concurrent I/O? (N/A)
  • If adding new public functions, did you add the @public tag and enable doc generation on the package? (N/A)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@benclarkmck benclarkmck marked this pull request as ready for review November 21, 2025 08:31
@benclarkmck benclarkmck requested a review from a team as a code owner November 21, 2025 08:31
@benclarkmck benclarkmck changed the title Fix: dont use the extended encoding for query parameters in the base url Fix(cloudfront-signer): dont use the extended encoding for query parameters in the base url Nov 21, 2025
@benclarkmck benclarkmck force-pushed the fix-cloudfront-signer-encoding branch from a617d7c to cb471d9 Compare November 21, 2025 11:47
@benclarkmck benclarkmck changed the title Fix(cloudfront-signer): dont use the extended encoding for query parameters in the base url fix(cloudfront-signer): dont use the extended encoding for query parameters in the base url Nov 21, 2025
@kuhe kuhe requested a review from trivikr November 21, 2025 21:12
@trivikr
Copy link
Member

trivikr commented Nov 21, 2025

Build failure is OK. I confirmed that unit tests are successful.

@trivikr trivikr merged commit 954d411 into aws:main Nov 21, 2025
2 of 3 checks passed
@trivikr trivikr changed the title fix(cloudfront-signer): dont use the extended encoding for query parameters in the base url fix(cloudfront-signer): skip extended encoding for query parameters in the base url Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants