thomascube
2007-12-13 7db228aa9da95494ed5a6c077b37fcc04ad90215
Regard mdn flag in etag for caching

1 files modified
2 ■■■ changed files
program/steps/mail/show.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/show.inc
@@ -43,7 +43,7 @@
    }
  // 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))