]> source.dussan.org Git - nextcloud-server.git/commitdiff
removed single quotes around publicly linked download file
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Sat, 20 Aug 2011 03:58:37 +0000 (05:58 +0200)
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Sat, 20 Aug 2011 15:44:28 +0000 (17:44 +0200)
apps/files_sharing/get.php

index e50a319ace47cf23a4dba5503b74a61f828cac92..a1b6c316cd526d49c1d5f00a1e4a67aba42d759b 100644 (file)
@@ -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
+?>