Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBorjan Tchakaloff <borjan@tchakaloff.fr>2011-10-05 15:16:34 +0400
committerBorjan Tchakaloff <borjan@tchakaloff.fr>2011-10-05 15:20:32 +0400
commit5570222b40194e6ef3a82857718dee2577818f79 (patch)
tree6ae148f2ddd01d208d1f07943d8e6c301ff6ca3d /apps/files_sharing
parent2c95c799e6b4b433dccb6efe04fe2c6dc9e5d9f9 (diff)
Added the missing quotes on the filename.
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/get.php2
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