Changeset 1947 in subversion


Ignore:
Timestamp:
Oct 6, 2008 3:39:51 PM (5 years ago)
Author:
alec
Message:

#1485446: calculate message's ETAG including inline_images option (for multipart messages)

File:
1 edited

Legend:

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

    r1939 r1947  
    5656 
    5757  // calculate Etag for this request 
    58   $etag = md5($MESSAGE->uid.$mbox_name.session_id().intval($MESSAGE->headers->mdn_sent).intval($MESSAGE->is_safe).intval($PRINT_MODE)); 
     58  $etag = md5($MESSAGE->uid.$mbox_name.session_id() 
     59    .intval($MESSAGE->headers->mdn_sent) 
     60    .intval($MESSAGE->is_safe) 
     61    .(!empty($MESSAGE->attachments) ? intval($CONFIG['inline_images']) : '') 
     62    .intval($PRINT_MODE)); 
    5963 
    6064  // allow caching, unless remote images are present 
Note: See TracChangeset for help on using the changeset viewer.