Fix filename headers when downloading

This commit is contained in:
Thomas Casteleyn
2020-09-02 11:27:09 +02:00
committed by Molkobain
parent c3ecd51153
commit 610e74e642

View File

@@ -437,8 +437,7 @@ abstract class Controller
if ($bFileTransfer)
{
header('Content-Description: File Transfer');
header('Content-Disposition: inline; filename="'.$sDownloadArchiveName);
header('Content-Disposition: attachment; filename="'.$sDownloadArchiveName);
}
header('Expires: 0');