Ignore:
Timestamp:
Jun 14, 2008 1:37:29 PM (5 years ago)
Author:
thomasb
Message:

Bugfix: call msg->set_safe() before checking msg->is_save

File:
1 edited

Legend:

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

    r1534 r1535  
    4343  $mbox_name = $IMAP->get_mailbox_name(); 
    4444   
    45   // calculate Etag for this request 
    46   $etag = md5($MESSAGE->uid.$mbox_name.session_id().intval($MESSAGE->headers->mdn_sent).intval($MESSAGE->is_safe).intval($PRINT_MODE)); 
    47  
    4845  // check known senders to display images 
    4946  if (!$MESSAGE->is_safe  
     
    5754    } 
    5855  } 
     56 
     57  // 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)); 
    5959 
    6060  // allow caching, unless remote images are present 
Note: See TracChangeset for help on using the changeset viewer.