Kaynağa Gözat

made more tolerant to malformed from field in message header

teepe 24 yıl önce
ebeveyn
işleme
42dae9b993
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      functions/mailbox_display.php

+ 1 - 1
functions/mailbox_display.php

@@ -35,7 +35,7 @@
       }
       }
       $msg = $msgs[$key];
       $msg = $msgs[$key];
 
 
-      $senderName = sqimap_find_displayable_name($msg['FROM']);
+      $senderName = htmlentities(sqimap_find_displayable_name($msg['FROM']));
       if( $mailbox == _("None") ) {
       if( $mailbox == _("None") ) {
          // $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
          // $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
          $boxes = sqimap_mailbox_list($imapConnection);
          $boxes = sqimap_mailbox_list($imapConnection);