We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
createSignedUploadUrl
If I create a signed upload url using createSignedUploadUrl and upload a file with a different mime type, it does not stop.
E.g., 1- create signedUploadUrl for file.md 2- upload test.pdf buffer with Content-Type: application/pdf in headers ✅ Successfully uploaded
file.md
test.pdf
Content-Type: application/pdf
1- create signedUploadUrl for file.md 2- upload test.pdf buffer with Content-Type: text/markdown in headers ✅ Successfully uploaded
Content-Type: text/markdown
Do following on the above two test cases:
It should give error that mime type does not match.
NA
The text was updated successfully, but these errors were encountered:
I made a PR for this issue : supabase/storage-js#210
Sorry, something went wrong.
No branches or pull requests
Bug report
Describe the bug
If I create a signed upload url using
createSignedUploadUrl
and upload a file with a different mime type, it does not stop.E.g.,
1- create signedUploadUrl for
file.md
2- upload
test.pdf
buffer withContent-Type: application/pdf
in headers✅ Successfully uploaded
1- create signedUploadUrl for
file.md
2- upload
test.pdf
buffer withContent-Type: text/markdown
in headers✅ Successfully uploaded
To Reproduce
Do following on the above two test cases:
Expected behavior
It should give error that mime type does not match.
Screenshots
NA
System information
The text was updated successfully, but these errors were encountered: