Skip to content

fix(storage-vercel-blob): prevent client upload file overwrite (#17823) - #17849

Open
Rodrigoue9 wants to merge 1 commit into
payloadcms:mainfrom
Rodrigoue9:fix/bounty-17823
Open

fix(storage-vercel-blob): prevent client upload file overwrite (#17823)#17849
Rodrigoue9 wants to merge 1 commit into
payloadcms:mainfrom
Rodrigoue9:fix/bounty-17823

Conversation

@Rodrigoue9

Copy link
Copy Markdown

Title

fix(storage-vercel-blob): prevent client uploads from overwriting existing files on filename collision (#17823)

Description

  • Sets allowOverwrite: false when generating client upload tokens via generateClientTokenFromReadWriteToken.
  • Prevents subsequent uploads with colliding filenames from replacing existing files in the Vercel Blob store and resulting in 404s for the uniquified record row.

Closes #17823

@Rodrigoue9
Rodrigoue9 requested a review from denolfe as a code owner August 19, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant