Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken createSignedURL API #15

Merged
merged 2 commits into from
Mar 10, 2023

Conversation

ryansburgoyne
Copy link
Contributor

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

All signed URL requests fail with "Not Found".

What is the new behavior?

Signed URL requests return a signed URL.

Additional context

This change adds the bucket ID to the request URL and properly appends the response to the create a valid signed URL.

@ryansburgoyne
Copy link
Contributor Author

The previous implementation percent-encoded the appended query string.

Copy link
Contributor

@grdsdev grdsdev left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks!

@grdsdev grdsdev merged commit 6203cb0 into supabase-community:main Mar 10, 2023
@ryansburgoyne ryansburgoyne deleted the skyglass branch March 31, 2023 19:05
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.

2 participants