Project

General

Profile

Actions

Bug #73214

closed

Typo3 interprets unlimited upload_max_filesize as limited to 0B

Added by David Henninger about 8 years ago. Updated over 5 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Gerrit Code Review about 8 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

Actions #2

Updated by Gerrit Code Review about 8 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

Actions #3

Updated by Gerrit Code Review about 8 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

Actions #4

Updated by Gerrit Code Review about 8 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

Actions #5

Updated by Andreas Bouche about 8 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF