Changeset 5e0999c in github


Ignore:
Timestamp:
Jul 8, 2010 12:12:45 PM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
c33e08a
Parents:
58a58cc
Message:
  • Fix opening attachments on IE (#1486829)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_shared.inc

    rb25dfd0 r5e0999c  
    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.