Files
Isaac Connor 20da5e5f12 fix: report served mp4 filename in view_video.php Content-Disposition refs #4757
When DefaultVideo is 'index.m3u8' but the view_video.php fallback
resolves $path to the actual mp4 (so byte-range playback works), the
Content-Disposition header still advertised filename='index.m3u8'. The
download button then saved a playlist instead of video.

Derive $filename from $path unconditionally — after the fallback runs,
$path is always the file we're streaming, regardless of mode.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 11:21:21 -04:00
..
2021-08-18 10:53:59 -04:00
2026-01-09 16:21:47 +03:00
2021-10-14 17:56:16 -04:00