We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently we use the detection from busboy which reads the request header or extension.
Consider using the file-type module.
https://www.npmjs.com/package/file-type
but it does require the buffer to be read, so the check has to be handled async by the server, not in the fileFilter function of multer.
fileFilter
Still this is not a full featured defense agains attacks, is one step.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently we use the detection from busboy which reads the request header or extension.
Consider using the file-type module.
https://www.npmjs.com/package/file-type
but it does require the buffer to be read, so the check has to be handled async by the server, not in the
fileFilter
function of multer.Still this is not a full featured defense agains attacks, is one step.
The text was updated successfully, but these errors were encountered: