diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-11 23:07:44 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-11 23:07:44 +0000 |
| commit | 34560feb831ffdb1e89c241adafa6528a2b8e618 (patch) | |
| tree | 14dc51097f871b20d868b553b92310843cb2fef5 /roundcubemail/program | |
| parent | 954c64628a20534c0ff212496876ef723aff3266 (diff) | |
Fix caching issue
git-svn-id: https://svn.roundcube.net/trunk@1046 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/steps/mail/show.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc index 9e9ba8df4..5cd5e8360 100644 --- a/roundcubemail/program/steps/mail/show.inc +++ b/roundcubemail/program/steps/mail/show.inc @@ -50,10 +50,10 @@ if ($_GET['_uid']) $MESSAGE['is_safe'] = 1; // calculate Etag for this request - $etag = md5($MESSAGE['UID'].$IMAP->get_mailbox_name().session_id().intval($MESSAGE['headers']->mdn_sent).intval($PRINT_MODE)); + $etag = md5($MESSAGE['UID'].$IMAP->get_mailbox_name().session_id().intval($MESSAGE['headers']->mdn_sent).intval($MESSAGE['is_safe']).intval($PRINT_MODE)); // allow caching, unless remote images are present - if ((bool)get_input_value('_safe', RCUBE_INPUT_GET)) + if ((bool)$MESSAGE['is_safe']) send_nocacheing_headers(); else if (empty($CONFIG['devel_mode'])) send_modified_header($_SESSION['login_time'], $etag); |
