X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/90462b6a06d67c66d616dc2792f62895613613e0..896af1948aae9c3f48f10cff3752f926347d04f4:/f.php diff --git a/f.php b/f.php index 59717b9..99a67df 100644 --- a/f.php +++ b/f.php @@ -240,6 +240,7 @@ if (!jirafeau_is_viewable ($link['mime_type']) || !$cfg['preview'] || $do_downlo else header ('Content-Disposition: filename="' . $link['file_name'] . '"'); header ('Content-Type: ' . $link['mime_type']); +header ('Content-MD5: ' . hex_to_base64($link['md5'])); /* Read encrypted file. */ if ($link['crypted'])