Bug #73214

Typo3 interprets unlimited upload_max_filesize as limited to 0B

Added by David Henninger almost 6 years ago. Updated about 3 years ago.

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.


Related issues

Related to TYPO3 Core - Bug #66208: Typo3 interprets unlimited POST data as limited to 0BClosedMarkus Klein2015-04-01

Actions
#1

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47029

#2

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47029

#3

Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47029

#4

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47061

#5

Updated by Andreas Bouche over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF