Skip to content
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

Fix for getMaxUploadSize() #1325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Every0ne
Copy link

@Every0ne Every0ne commented Jan 5, 2020

getMaxUploadSize() returns 0 when post_max_size is set to 0. It shouldn't do this, as setting post_max_size to 0 does not limit max post size, but actually removes maximum post limit altogether. From the php.ini:
; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit.

getMaxUploadSize() returns 0 when post_max_size is set to 0. It shouldn't do this, as setting post_max_size to 0 does not limit max post size, but actually removes maximum post limit altogether. From the php.ini:
; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit.
@tablatronix tablatronix added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants