Skip to content

Conversation

@nidhiii-27
Copy link
Contributor

Fixes b/450079023
Based on this bug, the x-goog-content-sha256 header was not being correctly included in the V4 signature, leading to SignatureDoesNotMatch error. The issue was caused by a case-sensitive get() on the headers map, which failed to find the user-provided lowercase header.
Added a case insensitive check and a corresponding test to verify the fix

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: storage Issues related to the googleapis/java-storage API. labels Oct 8, 2025
@nidhiii-27 nidhiii-27 marked this pull request as ready for review October 8, 2025 17:02
@nidhiii-27 nidhiii-27 requested a review from a team as a code owner October 8, 2025 17:02
@BenWhitehead BenWhitehead merged commit 54bc2c1 into googleapis:main Oct 8, 2025
23 checks passed
@nidhiii-27 nidhiii-27 deleted the signUrl-bug branch October 13, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants