mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
send proper headers
This commit is contained in:
parent
0f49d57d27
commit
235b647fe1
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class OC_FILES {
|
|||
$filename=$dir.'/'.$files;
|
||||
}
|
||||
if($zip or OC_FILESYSTEM::is_readable($filename)){
|
||||
header('Content-Disposition: attachment; filename="'.basename($filename).'"');
|
||||
header('Content-Disposition: attachment; filename='.basename($filename));
|
||||
header('Content-Transfer-Encoding: binary');
|
||||
header('Expires: 0');
|
||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||
|
|
|
|||
Loading…
Reference in a new issue