Issue Bug Closed

#83230PostUpload check returns false value to FE

Alexander Opitz 12/05/17, 17:12 updated 10/02/18, 10:55

Description

The PHP post_max_size and upload_max_filesize checker tests correctly if post_max_size isn’t smaller then upload_max_filesize, but then returns the value of post_max_size to frontend.

So correctly setting:
post_max_size 8M
upload_max_filesize 2M

Given result: “The maximum size for file uploads is actually set to 8M“
Expected result: “The maximum size for file uploads is actually set to 2M”

Setting upload_max_filesize to higher value then post_max_size results in an error status, which is correct.

Reviews 3