Skip to content

v1.9.7

Latest

Choose a tag to compare

@ShaneIsrael ShaneIsrael released this 30 Nov 17:16
589daeb

What's Changed

Security

  • Cropped videos no longer give away what was cut. Anyone with a video's link could download the full file from before the crop, or its audio. The full original and the editor's waveform audio now need edit permission on the video. Everyone else, including the RSS feed, gets the crop.
  • The poster route no longer reads files from outside a video's folder. Without signing in, anyone could fetch a file named like a poster or preview clip from any folder the app could reach. The same mistake let the waveform audio route read outside the folder, and let a signed-in editor write or delete a custom poster file outside it.
  • Chunked uploads can no longer tie up the server. One upload request with a huge chunk count could keep the server busy for hours, and a few dozen could take the site down. Chunk counts over 20,000 (about 1.8 TB at the browser's chunk size) are now refused.

Fixed

  • A preview clip or waveform audio file could be served while it was still being written, and an interrupted rebuild could replace a working preview clip with a broken one. Both are now put in place only once they're complete.
  • An animated image or a video uploaded as a custom poster now saves as a single still frame.
  • A chunked upload with a missing or invalid file size now fails straight away, not after the whole file has been sent.
  • A video with no poster or preview clip yet caused a server error. It now returns "not found".

Full Changelog: v1.9.6...v1.9.7