FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: add case insensitive check for X-Goog-Content-SHA256 in SignatureInfo by nidhiii-27 · Pull Request #3337 · googleapis/java-storage · GitHub

fix: add case insensitive check for X-Goog-Content-SHA256 in SignatureInfo - #3337

Merged
BenWhitehead merged 1 commit into
googleapis:mainfrom
nidhiii-27:signUrl-bug
Oct 8, 2025
Merged

fix: add case insensitive check for X-Goog-Content-SHA256 in SignatureInfo#3337
BenWhitehead merged 1 commit into
googleapis:mainfrom
nidhiii-27:signUrl-bug

Conversation

Copy link
Copy Markdown
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 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 marked this pull request as ready for review October 8, 2025 17:02
nidhiii-27 requested a review from a team October 8, 2025 17:02
BenWhitehead merged commit 54bc2c1 into googleapis:main Oct 8, 2025
23 checks passed
nidhiii-27 deleted the signUrl-bug branch October 13, 2025 06:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL