diff options
author | Robin Appelman <icewind1991@gmail.com> | 2010-12-04 13:48:21 +0000 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2010-12-04 13:48:21 +0000 |
commit | 7710dc7325f15b4b8fd9488c31288ed5d6f79dac (patch) | |
tree | bd335c8dfd055afe1d289ababe21404de3ccc6bc /inc | |
parent | 8681d62bbf50e83b9a45a8ec08dc89cd3caf75a4 (diff) | |
parent | e84acb289ef75fba3b2b75dc03b64f323e1d59ae (diff) | |
download | nextcloud-server-7710dc7325f15b4b8fd9488c31288ed5d6f79dac.tar.gz nextcloud-server-7710dc7325f15b4b8fd9488c31288ed5d6f79dac.zip |
Merge branch 'master' of git://gitorious.org/owncloud/owncloud
Diffstat (limited to 'inc')
-rwxr-xr-x | inc/lib_files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/lib_files.php b/inc/lib_files.php index c8c26df9726..f7d646e322a 100755 --- a/inc/lib_files.php +++ b/inc/lib_files.php @@ -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'); |