From: Jan-Christoph Borchardt Date: Sat, 20 Aug 2011 03:58:37 +0000 (+0200) Subject: removed single quotes around publicly linked download file X-Git-Tag: v3.0~267^2~69^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d15673f13f640f6278b1635f2974dfeb74851e0c;p=nextcloud-server.git removed single quotes around publicly linked download file --- 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 +?>