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

View 2 revisions

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)

Issue History

Date Modified Username Field Change
2015-03-23 17:23 gmantis New Issue
2015-03-24 04:03 dregad Status new => acknowledged
2015-03-24 04:03 dregad Note Added: 0049289
2015-03-24 04:03 dregad Target Version => 1.3.0-beta.3
2015-03-24 04:04 dregad Note Edited: 0049289 View Revisions
2015-09-06 17:47 vboctoradmin Target Version 1.3.0-beta.3 => 1.3.0-rc.1
2015-12-06 02:55 vboctor Target Version 1.3.0-rc.1 => 1.3.0-rc.2
2016-06-12 02:37 atrol Target Version 1.3.0-rc.2 => 1.3.0
2016-07-10 07:57 atroladmin Target Version 1.3.0 => 1.3.1
2016-07-11 16:13 atrol Target Version 1.3.1 =>