logo.png, ~1 MB)./administrator/index.php?option=com_media&format=json&mediatypes=0,1,2,3&task=api.files&path=local-images%3A%2F.
Content-Type is application/json.The upload should use the standard multipart/form‑data encoding (exactly like the upload of extensions or other media types). The request should contain a boundary parameter, a Content-Disposition header with the filename, and the raw binary data as a separate part. This ensures:
memory_limit , post_max_size limits or even ModSec default values blocking these requests.
| Item | Value |
|---|---|
| Joomla version | Joomla! 5.4.2 Stable [ Kutegemea ] 6-January-2026 16:00 GMT |
| PHP version | 8.3.29 |
| Web server | Apache |
| OS | FreeBSD |
| PHP memory_limit | 256M |
| post_max_size | 64M |
| upload_max_filesize | 64M |
Note: The large
Content-Length(≈ 1.39 MB) is visible in the network tab and matches the size of the image plus the Base64 overhead.
| Labels |
Added:
No Code Attached Yet
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-02-03 10:27:25 |
| Closed_By | ⇒ | Fedik |
Note: The fix for 5.x is not possible. Only possible for future minor release.
The fix is not merged and need to be tested, then it will become part of future release.
You can help with testing.
Ah, sorry, I didn't even see that the MR is still open 🤦♂️. Sure, I’d be happy to do that and will get back to you here.
The fix is there:
Please test.