summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-03 01:06:25 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-03 01:06:25 +0200
commit6527048164e0b19b04c9ddbfa522d8dd9f28938e (patch)
tree4e011f304fb2e959a17c9d93acd9bd731ac51ae9 /apps
parenta2062036d325c45a7bc0e50ddb39fe5b238cde41 (diff)
downloadnextcloud-server-6527048164e0b19b04c9ddbfa522d8dd9f28938e.tar.gz
nextcloud-server-6527048164e0b19b04c9ddbfa522d8dd9f28938e.zip
dont force a download for public links
Diffstat (limited to 'apps')
-rw-r--r--apps/files_publiclink/get.php1
1 files changed, 0 insertions, 1 deletions
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');