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(blob): Throw specific error on file extension mismatch #770

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

vvo
Copy link
Member

@vvo vvo commented Oct 3, 2024

We will now throw a specific error (BlobContentTypeNotAllowed) when the user
is trying to upload a file where the extension doesn't match what you've
configured as allowedContentTypes (Client Uploads).

We will now throw a specific error (`BlobContentTypeNotAllowed`) when the user
is trying to upload a file where the extension doesn't match what you've
configured as `allowedContentTypes` (Client Uploads).
@vvo vvo requested a review from a team October 3, 2024 13:20
@vvo vvo self-assigned this Oct 3, 2024
Copy link

changeset-bot bot commented Oct 3, 2024

🦋 Changeset detected

Latest commit: bb07c26

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@vercel/blob Patch
vercel-storage-integration-test-suite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
vercel-storage-next-integration-test-suite ✅ Ready (Inspect) Visit Preview Oct 3, 2024 1:21pm

@vvo vvo enabled auto-merge (squash) October 3, 2024 13:22
@vvo vvo merged commit 37d84ef into main Oct 3, 2024
12 checks passed
@vvo vvo deleted the fix/blob/throw-specific-error-on-filetype-mismatch branch October 3, 2024 13:26
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