From 8e001c71933986aa184e993478b62aaba9542711 Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Tue, 21 Aug 2012 13:52:50 -0300 Subject: [PATCH] ISLANDORA-311. Fix for IE download links. --- ObjectHelper.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ObjectHelper.inc b/ObjectHelper.inc index 408b2604..df47d803 100644 --- a/ObjectHelper.inc +++ b/ObjectHelper.inc @@ -182,7 +182,8 @@ class ObjectHelper { //Set what headers we can... if ($mimeType = $info['content_type']) { drupal_set_header("Content-Type: $mimeType"); - + // Fixes an IE issue + drupal_set_header("Cache-Control: private", TRUE); if ($asAttachment) { $suggestedFileName = "$label"; $pos = strpos($suggestedFileName, '.');