Changeset ddbdb85 in github


Ignore:
Timestamp:
Feb 11, 2008 6:07:44 PM (5 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
1988169
Parents:
2062baf
Message:

Fix caching issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/show.inc

    r6726f0c rddbdb85  
    5151 
    5252  // calculate Etag for this request 
    53   $etag = md5($MESSAGE['UID'].$IMAP->get_mailbox_name().session_id().intval($MESSAGE['headers']->mdn_sent).intval($PRINT_MODE)); 
     53  $etag = md5($MESSAGE['UID'].$IMAP->get_mailbox_name().session_id().intval($MESSAGE['headers']->mdn_sent).intval($MESSAGE['is_safe']).intval($PRINT_MODE)); 
    5454 
    5555  // allow caching, unless remote images are present 
    56   if ((bool)get_input_value('_safe', RCUBE_INPUT_GET)) 
     56  if ((bool)$MESSAGE['is_safe']) 
    5757    send_nocacheing_headers(); 
    5858  else if (empty($CONFIG['devel_mode'])) 
Note: See TracChangeset for help on using the changeset viewer.