From 6527048164e0b19b04c9ddbfa522d8dd9f28938e Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 3 Aug 2011 01:06:25 +0200 Subject: [PATCH] dont force a download for public links --- apps/files_publiclink/get.php | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/files_publiclink/get.php b/apps/files_publiclink/get.php index 6bcefc2e4e8..49bba901854 100644 --- a/apps/files_publiclink/get.php +++ b/apps/files_publiclink/get.php @@ -63,7 +63,6 @@ if($path!==false){ //get time mimetype and set the headers $mimetype=OC_Filesystem::getMimeType($path); header('Content-Transfer-Encoding: binary'); - header('Content-Disposition: attachment; filename="'.basename($path).'"'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); -- 2.39.5