adobe / adobe/da-admin

[api] da-admin POST /source/ should do a size check

Open
#165 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
17
PR merge metrics
No merged PRs in 30d

Description

With Helix limiting the file size of pages, images, PDFs etc. da-admin should follow the same rules and reject POST requests if they exceed the size limits.

Currently the following limits are enforced by the EDS Admin API:
* page / document size limit: 1MByte
* max image size limit 1MByte

Limits on sheet sizes or file sizes are currently documented (https://www.aem.live/docs/limits#file-size-limits) but not enforced.

Contributor guide

Open the contributing guide

Research direction

Start at the da-admin API handler for POST /source/ and compare its request handling with the existing EDS Admin API limits. Review the documented file-size limits at https://www.aem.live/docs/limits#file-size-limits. Done means oversized pages, images, PDFs, sheets, and other documented files are rejected consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.