#455·multer

Should allow absent/empty filename

Author: LinusUCreated Feb 2, 2017Updated Aug 29, 2026
Labelsv3.x

As far as I can tell from reading RFC7578 Section 4.2 the filename is not mandatory. Currently multer ignores files without a filename, relevant code here.

I think that this should be addressed, though I'm not sure if we should set originalname to an empty string or to undefined...

This might possibly be a breaking change as well, I'll start by fixing it in the 2.x beta...