Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix /upload 500'ing when presented a very large image #10029

Merged
merged 3 commits into from
May 21, 2021
Merged

Fix /upload 500'ing when presented a very large image #10029

merged 3 commits into from
May 21, 2021

Commits on May 20, 2021

  1. Fix /upload 500'ing when presented a very large image

    Catch DecompressionBombError and re-raise as ThumbnailErrors
    t3chguy committed May 20, 2021
    Configuration menu
    Copy the full SHA
    ee7ee48 View commit details
    Browse the repository at this point in the history
  2. Set PIL's MAX_IMAGE_PIXELS to match homeserver.yaml

    to get it to bomb out quicker, to load less into memory
    in the case of super large images
    t3chguy committed May 20, 2021
    Configuration menu
    Copy the full SHA
    68a64a6 View commit details
    Browse the repository at this point in the history
  3. Add changelog entry for 10029

    t3chguy committed May 20, 2021
    Configuration menu
    Copy the full SHA
    0720a6c View commit details
    Browse the repository at this point in the history