Skip to content

Media fix

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

Loading