Skip to content

Uploading an avatar media exceeding max size returns a 413

Duponin requested to merge Duponin/pleroma:fix-2856 into develop

Until now it was returning a 500 because the upload plug were going through the changeset and ending in the JSON encoder, which raised because struct has to @derive the encoder.

I have also applied that fix on banner (header) and background. Also added missing unit tests to prevent any regression.

Closes #2856 (closed)

Merge request reports