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.
fix: should exclude svg files from file buffer mime validation (#14751)
### What? Fix bug of `svg` files throwing an error when `mimeTypes: ['image/*']` is set. ### Why? We recently added an additional mime type check on the buffer however the `file-buffer` package that we use to detect file type does not support svgs. ### How? Updates `expectsDetectableType` logic to exclude svgs. Fixes #14743
J
Jessica Rynkar committed
015b3633c7ed3b8e5f30a31e0961a262f515338f
Parent: a07cf47
Committed by GitHub <noreply@github.com>
on 11/27/2025, 5:58:59 PM