Skip to content

Conversation

@peterrsongg
Copy link
Contributor

@peterrsongg peterrsongg commented Oct 27, 2025

Description

Fixes issue #4069

Motivation and Context

Removes trailing slash from x-amz-credential. We do this for normal SigV4 signing, looks like we just added a trailing slash unintentionally when implementing signing for presigned post.

Testing

Dry-run 66bf4a77-4329-4dc2-8282-947345459739 in progress.
I didn't add additional tests because we already have so many for presigned post. I'm making the assumption that if those pass then we are covered.

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the README document
  • I have added tests to cover my changes
  • All new and existing tests passed

License

  • I confirm that this pull request can be released under the Apache 2 license

@peterrsongg peterrsongg changed the base branch from main to development October 27, 2025 18:53
Copy link
Contributor

@GarrettBeatty GarrettBeatty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving assuming tests pass

@peterrsongg
Copy link
Contributor Author

dry run succeeded

@peterrsongg peterrsongg merged commit 6faf37c into development Oct 28, 2025
4 of 5 checks passed
@peterrsongg peterrsongg deleted the petesong/gh-4069 branch October 28, 2025 16:34
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