View Issue Details

IDProjectCategoryView StatusLast Update
0019541mantisbtotherpublic2016-07-11 16:13
Reportergmantis Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version1.2.19 
Summary0019541: php.ini configuration | post_max_size variable
Description

When using DISK as upload method, it seems that mantisbt is using the post_max_size variable from php.ini for max. filesize. Following the
php.ini documentation the value can be 0 to disable limitation but
mantisbt seems to misinterprets it as a maximum filesize of 0

Steps To Reproduce

set post_max_size to 0 in php.ini

TagsNo tags attached.

Activities

dregad

dregad

2015-03-24 04:03

developer   ~0049289

Last edited: 2015-03-24 04:04

Allowing unlimited post with post_max_size = 0 was introduced in 5.3.2 [1]

Since 1.2.x supports PHP 5.1.x, what you're seeing is expected behavior. This could only be addressed in 1.3.x branch.

[1] http://php.net/ChangeLog-5.php#5.3.2 : Changed "post_max_size" php.ini directive to allow unlimited post size by setting it to 0. (Rasmus)