From: pdontthink Date: Wed, 16 Aug 2017 07:59:53 +0000 (+0000) Subject: Remove outdated headers X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c2503a4e44d5f357538180126fd5740033ed5115;p=squirrelmail.git Remove outdated headers git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14713 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index 0f9c7fe1..3227aebb 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -2786,7 +2786,8 @@ function SendDownloadHeaders($type0, $type1, $filename, $force, $filesize=0) { $filename=rawurlencode($filename); header ("Pragma: public"); header ("Cache-Control: no-store, max-age=0, no-cache, must-revalidate"); // HTTP/1.1 - header ("Cache-Control: post-check=0, pre-check=0", false); + // does nothing - see: https://blogs.msdn.microsoft.com/ieinternals/2009/07/20/internet-explorers-cache-control-extensions/ + // header ("Cache-Control: post-check=0, pre-check=0", false); header ("Cache-Control: private"); //set the inline header for IE, we'll add the attachment header later if we need it