filepond-plugin-image-transform icon indicating copy to clipboard operation
filepond-plugin-image-transform copied to clipboard

Error when uploading file with specific bitmap

Open cavasinf opened this issue 2 years ago • 0 comments

A client sent a file to the FilePond with transform plugin enabled. It crashed FilePond JS and makes the upload unlimited with no error.

The JS error is not clearly readable from the navigator, but it seems to crash here https://github.com/pqina/filepond-plugin-image-transform/blob/fdc38d5bc51b42ba3144a761538be6d44e3d2156/dist/filepond-plugin-image-transform.esm.js#L285

image

image

Here's the file: (I wiped it to white because sensible content, if you want the original ask me) https://user-images.githubusercontent.com/25293190/215067250-8bc2fc32-6a86-4612-bf48-98b7a168fe6b.jpg

Versions

root@4147797bee55:/var/www/html# yarn list --pattern filepond
yarn list v1.22.19
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]

Browser : FireFox 109.0 (64 bits)

cavasinf avatar Jan 27 '23 10:01 cavasinf