Only applies if php.ini setting "memory limit" is set to -1 (no limit).
On a fresh Joomla 4, try to upload a 1Mo picture on media manager.
Sucess (if others parameters such as upload max size are > 1 Mo, which is default)
Fail : file is too large.
memory_limit = -1 on php.ini
On file administrator\components\com_media\src\Controller\ApiController.php line 370
test if file length > memory limit, which is always true if memory_limit is -1
We should ignore this test if memory limit is -1
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-10-28 14:38:25 |
Closed_By | ⇒ | Quy |
Closing as having a pull request. Please test #35854. Thanks in advance.