Browse Source

made more tolerant to malformed from field in message header

teepe 24 năm trước cách đây
mục cha
commit
42dae9b993
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      functions/mailbox_display.php

+ 1 - 1
functions/mailbox_display.php

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