Changeset 37e467d in github
- Timestamp:
- Jun 17, 2010 4:01:20 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- ce06d32
- Parents:
- 306f15d
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_shared.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rf19d86b r37e467d 2 2 =========================== 3 3 4 - Fix no-cache headers on https to prevent content caching by proxies (#1486798) 4 5 - Fix attachment filenames broken with TNEF decoder using long filenames (#1486795) 5 6 - Use user's timezone in Date header, not server's timezone (#1486119) -
program/include/rcube_shared.inc
rd311d80 r37e467d 33 33 function send_nocacheing_headers() 34 34 { 35 global $OUTPUT; 36 35 37 if (headers_sent()) 36 38 return; … … 38 40 header("Expires: ".gmdate("D, d M Y H:i:s")." GMT"); 39 41 header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); 40 header("Cache-Control: private, must-revalidate, post-check=0, pre-check=0");42 header("Cache-Control: private, no-cache, must-revalidate, post-check=0, pre-check=0"); 41 43 header("Pragma: no-cache"); 42 44 // Request browser to disable DNS prefetching (CVE-2010-0464) 43 45 header("X-DNS-Prefetch-Control: off"); 44 46 45 47 // We need to set the following headers to make downloads work using IE in HTTPS mode. 46 if (rcube_https_check()) { 47 header('Pragma: '); 48 header('Cache-Control: '); 48 if ($OUTPUT->browser->ie && rcube_https_check()) { 49 header('Pragma: private'); 49 50 } 50 51 }
Note: See TracChangeset
for help on using the changeset viewer.
