Skip to content

docs(storage): spec signed URLs and object keys in request paths - #415

Draft
spydon wants to merge 2 commits into
mainfrom
lukasklingsbo/sdk-3332-spec-how-sdks-build-storage-signed
Draft

spydon wants to merge 2 commits into
mainfrom
lukasklingsbo/sdk-3332-spec-how-sdks-build-storage-signed

Conversation

@spydon

@spydon spydon commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Specs how SDKs build signed URLs from the path the server returns, and how bucket IDs and object keys go into request paths. SDK-3332

  • create_signed_url: join the storage URL and the server's path, encode only what a path cannot hold, keep % escapes and the server's query, append download and cacheNonce.
  • create_signed_urls and create_signed_upload_url point to it; the upload token is read from the URL's query.
  • access_bucket: each key segment and the bucket ID are percent-encoded, . and .. segments are rejected before the request. The other storage specs link to it.

Draft until supabase/storage#1793 is merged and deployed.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant