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
Sorry for asking this.
If I'm correct, the only fields present at fileFilter time are [ 'fieldname', 'originalname', 'encoding', 'mimetype' ]
[ 'fieldname', 'originalname', 'encoding', 'mimetype' ]
One cannot rely on the originalname nor on the mimetype to check whether the file is what it pretends to be.
originalname
mimetype
What is it that I am missing?
The text was updated successfully, but these errors were encountered:
I agree, it's useless. That's why I have removed it in the 2.x alpha :) see #399 for more info 🎉
Sorry, something went wrong.
Closing this since we cannot remove it in 1.x (it would be a breaking change) and it's already removed in 2.x
No branches or pull requests
Sorry for asking this.
If I'm correct, the only fields present at fileFilter time are
[ 'fieldname', 'originalname', 'encoding', 'mimetype' ]
One cannot rely on the
originalname
nor on themimetype
to check whether the file is what it pretends to be.What is it that I am missing?
The text was updated successfully, but these errors were encountered: