diff options
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files.php b/lib/files.php index eec1007de1f..bdcae419189 100644 --- a/lib/files.php +++ b/lib/files.php @@ -121,7 +121,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'); |