SIGN IN SIGN UP
payloadcms / payload UNCLAIMED

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0 0 16 TypeScript

fix(storage-s3): respect upload limits with client uploads (#15176)

Fixes https://github.com/payloadcms/payload/issues/12671
Relies on https://github.com/payloadcms/payload/pull/15174 (merge this
one first)

In addition to checking the passed `filesize` from
`S3ClientUploadHandler`, this PR also uses S3 signed headers to ensure
that `ContentLength` does not exceed `upload.limits.fileSize`.

---------

Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com>
S
Sasha committed
4a6189efee4b21037734f83b4d391eb6fbd7aeac
Parent: 6f4b272
Committed by GitHub <noreply@github.com> on 1/13/2026, 9:05:07 PM