summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-20 05:58:37 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-20 17:44:28 +0200
commitd15673f13f640f6278b1635f2974dfeb74851e0c (patch)
tree7a17a8578879cd364d7da17165b32f3482655a63 /apps/files_sharing
parent109302a928fa6953f1ecd00148fe06d3b6bf2baf (diff)
downloadnextcloud-server-d15673f13f640f6278b1635f2974dfeb74851e0c.tar.gz
nextcloud-server-d15673f13f640f6278b1635f2974dfeb74851e0c.zip
removed single quotes around publicly linked download file
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/get.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index e50a319ace4..a1b6c316cd5 100644
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -67,7 +67,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
@@ -80,4 +80,4 @@ if ($source !== false) {
$tmpl->printPage();
die();
}
-?> \ No newline at end of file
+?>