Changeset 3812 in subversion


Ignore:
Timestamp:
Jul 8, 2010 12:12:45 PM (3 years ago)
Author:
alec
Message:
  • Fix opening attachments on IE (#1486829)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_shared.inc

    r3780 r3812  
    4040  header("Expires: ".gmdate("D, d M Y H:i:s")." GMT"); 
    4141  header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); 
    42   header("Cache-Control: private, no-cache, must-revalidate, post-check=0, pre-check=0"); 
    43   header("Pragma: no-cache"); 
    4442  // Request browser to disable DNS prefetching (CVE-2010-0464) 
    4543  header("X-DNS-Prefetch-Control: off"); 
     
    4846  if ($OUTPUT->browser->ie && rcube_https_check()) { 
    4947    header('Pragma: private'); 
     48    header("Cache-Control: private, must-revalidate"); 
     49  } else { 
     50    header("Cache-Control: private, no-cache, must-revalidate, post-check=0, pre-check=0"); 
     51    header("Pragma: no-cache"); 
    5052  } 
    5153} 
Note: See TracChangeset for help on using the changeset viewer.