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
Setting post_max_size to 0 should disable the post size limit, but getPostMaxSize in https://github.com/laravel/framework/blob/5.4/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php treats it as a maximum post size of 0 bytes and throws the PostTooLargeException exception for POST requests of any size.
post_max_size
0
getPostMaxSize
PostTooLargeException
Set post_max_size to 0 in php.ini and attempt to send a POST request to trigger this check (eg: log in using Laravel's native authentication)
php.ini
The text was updated successfully, but these errors were encountered:
Thanks for reporting. See #17607. :)
Sorry, something went wrong.
Awesome- thanks for fixing!
No branches or pull requests
Description:
Setting
post_max_size
to0
should disable the post size limit, butgetPostMaxSize
in https://github.com/laravel/framework/blob/5.4/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php treats it as a maximum post size of 0 bytes and throws thePostTooLargeException
exception for POST requests of any size.Steps To Reproduce:
Set
post_max_size
to0
inphp.ini
and attempt to send a POST request to trigger this check (eg: log in using Laravel's native authentication)The text was updated successfully, but these errors were encountered: