-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
MimeType rule fails with large uploads #143
Comments
Hi, thanks for the report. This is definitely a bug of this package. |
@xificurk Good to know I did not misreport this. Is there anything I can do to help? |
I think, I've identified the problem, but still need to double check it and add tests. I'll have the fix out within a couple of days. |
@juniwalk Can you please test current master to verify it fixes the problem in your setup? |
@xificurk Works great, thank you! |
Hi,
I implemented your component in my app and I am having issue which I don't know how to solve.
When I set a rule to limit allowed mimetypes and I try to upload larger file, it fails on first chunk because FileUpload does not have mimetype available. I don't know if I should report this in nette/forms or here. If it is fixed in nette/forms and the rule fails, the upload fails.
The fail occurs in Validator.php in nette/forms because strtolower does not expect null.
The text was updated successfully, but these errors were encountered: