Actions
Bug #73214
closedTypo3 interprets unlimited upload_max_filesize as limited to 0B
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-02-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Typo3 interprets the php setting upload_max_filesize = 0
as post data being limited to 0 bytes:
However, according to the PHP implementation, a max size of 0 is handled as unlimited:
https://github.com/php/php-src/blob/master/main/rfc1867.c#L1044
On a valid request, first two IF-statements validate to false, thus it only checks for a positive bytelength of the data.
Actions