node-formidable / formidable

The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.
MIT License
7.05k stars 682 forks source link

fix: do not let empty file on error #798

Closed GrosSacASac closed 2 years ago

GrosSacASac commented 2 years ago

fixes https://github.com/node-formidable/formidable/issues/797

@xHyroM please try this branch

xhyrom commented 2 years ago

Okay, tomorrow (12PM for me)

xhyrom commented 2 years ago

Works! Thanks