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
Form::validateMaxPostSize() never called #30
Milestone
Comments
How could POST data exceed |
Yes, it is related, thanks! POST data can be exceeded if you try to upload too large file |
Hmm, this is related to 2.2, because of this nette/application@1f492cf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think validateMaxPostSize method is actually never called in case POST data exceeds
$_SERVER['CONTENT_LENGTH']
.It is meant to be called from validate() which is called from fireEvents but it can never be called due this condition as it calls https://github.com/nette/application/blob/master/src/Application/UI/Form.php#L108 which returns always FALSE in that case
The text was updated successfully, but these errors were encountered: