Page MenuHomePhabricator

Fail for gracefully when a file is uploaded that is too large
Closed, ResolvedPublic

Description

Author: Bryan.TongMinh

Description:
Currently, if a file is upload that is too large according to php.ini, we should give a proper error instead of just returning the upload form without any message what went wrong.


Version: 1.17.x
Severity: normal

Details

Reference
bz23380

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:05 PM
bzimport set Reference to bz23380.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 23678 has been marked as a duplicate of this bug. ***

The problem is that php strips everything if we pass the maximum_upload_size. Although we could assume that was the case if it was called via POST.

Correction: the directive is post_max_size

Bryan.TongMinh wrote:

Fixed in r70037.