mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Fix filename headers when downloading
This commit is contained in:
committed by
Molkobain
parent
c3ecd51153
commit
610e74e642
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user