diff options
author | Borjan Tchakaloff <borjan@tchakaloff.fr> | 2011-10-05 15:16:34 +0400 |
---|---|---|
committer | Borjan Tchakaloff <borjan@tchakaloff.fr> | 2011-10-05 15:20:32 +0400 |
commit | 5570222b40194e6ef3a82857718dee2577818f79 (patch) | |
tree | 6ae148f2ddd01d208d1f07943d8e6c301ff6ca3d /apps/files_sharing | |
parent | 2c95c799e6b4b433dccb6efe04fe2c6dc9e5d9f9 (diff) | |
download | nextcloud-server-5570222b40194e6ef3a82857718dee2577818f79.tar.gz nextcloud-server-5570222b40194e6ef3a82857718dee2577818f79.zip |
Added the missing quotes on the filename.
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/get.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php index 083f48e1127..7d040689d41 100644 --- a/apps/files_sharing/get.php +++ b/apps/files_sharing/get.php @@ -70,7 +70,7 @@ if ($source !== false) { header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Pragma: public"); - header("Content-Disposition: filename=".basename($source)); + header('Content-Disposition: filename="'.basename($source).'"'); header("Content-Type: " . $mimetype); header("Content-Length: " . OC_Filesystem::filesize($source)); //download the file |