GoldDominik893/liberatube

[Bug] Downloads on mobile are renamed to have .html extension.

GoldDominik893 opened this issue · 1 comments

Where?

Stable

What version did you encounter this bug on?

v1.7

List the steps needed to reproduce this bug.

Using a mobile web browser such as safari or samsung internet, causes the file download to be renamed to file.(mimetype).html.

This can be fixed using:

header('Content-type: video/mp4');

inside of the /videodata/media.php file.