Skip to content
Snippets Groups Projects
Commit 65270481 authored by Robin Appelman's avatar Robin Appelman
Browse files

dont force a download for public links

parent a2062036
Branches
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment