diff options
-rw-r--r-- | files/download.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/files/download.php b/files/download.php index 63209eaccbb..f99b8d567e9 100644 --- a/files/download.php +++ b/files/download.php @@ -49,5 +49,6 @@ header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); header('Content-Length: '.OC_FILESYSTEM::filesize($filename)); +ob_end_clean(); OC_FILESYSTEM::readfile( $filename ); ?> |