Skip to content

Fix for getMaxUploadSize()#1325

Open
Every0ne wants to merge 1 commit intoGetSimpleCMS:masterfrom
Every0ne:patch-2
Open

Fix for getMaxUploadSize()#1325
Every0ne wants to merge 1 commit intoGetSimpleCMS:masterfrom
Every0ne:patch-2

Conversation

@Every0ne
Copy link
Copy Markdown
Contributor

@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.

2 participants