XFMG is missing pagination

Status
This content is read-only, or is not open for further replies.

stromb0li

Guest
offline
When calling /api/media-category/{id}/content all photos for that category load; none of it is paginated, even if passing the page parameter.

For categories/albums with hundreds or thousands of images, this can be abused as a way to attack the server, as it generates enormous responses on request. Currently with just under a thousand photos, I can spike memory utilization to ~100MB+ per request.

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom