leakage when Firefox does DNS prefetching for URLs contained in emails.
- Added the ability to configure Google Mail (Gmail) as the mail server
behind SquirrelMail.
+ - Explicitly disable caching for left_main and right_main pages (#2983134).
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
/** This is the left_main page */
define('PAGE_NAME', 'left_main');
+/* Disable browser caching */
+header('Cache-Control: no-cache, no-store, must-revalidate');
+header('Pragma: no-cache');
+header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
+
/**
* Include the SquirrelMail initialization file.
*/
*/
if (!empty($left_refresh) &&
!stristr($left_refresh, 'none')){
- $xtra = "\n<meta http-equiv=\"Expires\" content=\"Thu, 01 Dec 1994 16:00:00 GMT\" />\n" .
- "<meta http-equiv=\"Pragma\" content=\"no-cache\" />\n".
- "<meta http-equiv=\"REFRESH\" content=\"$left_refresh;URL=left_main.php\" />\n";
+ $xtra = "\n<meta http-equiv=\"REFRESH\" content=\"$left_refresh;URL=left_main.php\" />\n";
} else {
$xtra = '';
}
//xdebug_start_profiling("/var/spool/xdebug/right_main.txt");
+/* Disable browser caching */
+header('Cache-Control: no-cache, no-store, must-revalidate');
+header('Pragma: no-cache');
+header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
/**
* Include the SquirrelMail initialization file.