Skip to content
Snippets Groups Projects

Media fix

Merged Imported Johannes Zumthurm requested to merge media_fix into master

Created by: NotSpecial

I have noticed that even after #344, uploaded files would be corrupted, even if at least the API doesn't crash anymore.

After a bit of investigation I have discovered that the validator parses the file stream to determine width and height, but never resets the stream.

I have updated the media tests to now always ensure that files are uploaded correctly, and fixed the bug.

Merge request reports

Checking pipeline status.

Merged by avatar (Jan 10, 2025 8:27am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading