Skip to content

fix(storage): align custom hostname URL scheme handling in SigningHelper - #9875

Open
nidhiii-27 wants to merge 1 commit into
mainfrom
fix/storage-signed-url-hostname-scheme
Open

nidhiii-27 wants to merge 1 commit into
mainfrom
fix/storage-signed-url-hostname-scheme

Conversation

@nidhiii-27

Copy link
Copy Markdown
Contributor

SigningHelper::normalizeOptions now defaults the URL scheme to https and preserves an http or https prefix from custom hostnames when a scheme is not explicitly set. Explicit scheme configuration and default storage.googleapis.com URL generation remain unchanged. Updated unit tests in Storage/tests/Unit/SigningHelperTest.php.

SigningHelper::normalizeOptions now defaults the URL scheme to https and preserves an http or https prefix from custom hostnames when a scheme is not explicitly set. Explicit scheme configuration and default storage.googleapis.com URL generation remain unchanged. Updated unit tests in Storage/tests/Unit/SigningHelperTest.php.

[Generated-by: AI]
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Nov 29, 2026
@nidhiii-27 nidhiii-27 added generated: genai Contains Generative AI based code, requesting an additional reviewer. storage-bug-immunity Generated by storage-bug-immunity skill ai-generated Pull Request generated by AI labels Nov 29, 2026
@nidhiii-27
nidhiii-27 marked this pull request as ready for review November 29, 2026 17:21
@nidhiii-27
nidhiii-27 requested review from a team as code owners November 29, 2026 17:21
@nidhiii-27 nidhiii-27 self-assigned this Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated Pull Request generated by AI api: storage Issues related to the Cloud Storage API. generated: genai Contains Generative AI based code, requesting an additional reviewer. storage-bug-immunity Generated by storage-bug-immunity skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant