summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-12-13 08:22:58 +0000
committerthomascube <thomas@roundcube.net>2007-12-13 08:22:58 +0000
commit7db228aa9da95494ed5a6c077b37fcc04ad90215 (patch)
tree49f7ff37917179b1a0a48436b1a16b20f673acef /program/steps
parent338551d06506cbf71ae827800faa3b75713976b9 (diff)
Regard mdn flag in etag for caching
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 45d64b87b..1aab3302c 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -43,7 +43,7 @@ if ($_GET['_uid'])
}
// calculate Etag for this request
- $etag = md5($MESSAGE['UID'].$IMAP->get_mailbox_name().session_id().($PRINT_MODE?1:0));
+ $etag = md5($MESSAGE['UID'].$IMAP->get_mailbox_name().session_id().intval($MESSAGE['headers']->mdn_sent).intval($PRINT_MODE));
// allow caching, unless remote images are present
if ((bool)get_input_value('_safe', RCUBE_INPUT_GET))