pleroma/lib
Oneric 9443aba06c
api/view: handle explicitly zero dimensions in attachments
Some peertube videos are federated with explicitly zero dimensions
for their mp4 link leading to a division-by-zero exception here.
E.g.: https://spectra.video/videos/watch/66c12674-2013-47a4-9126-51ff8eb8d0a8
      (as of writing using peertube 8.1.1)

Reported by temp3 on IRC

(cherry picked from commit 6833281051aa86b3d82232be29497fed47bf5fb1)
2026-10-27 17:27:28 +04:00
..
mix fix(config): keep search startup settings static 2026-07-26 11:58:31 +04:00
pleroma api/view: handle explicitly zero dimensions in attachments 2026-10-27 17:27:28 +04:00