mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge branch 'master' of git://gitorious.org/owncloud/owncloud
This commit is contained in:
commit
7710dc7325
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,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