Selaa lähdekoodia

made more tolerant to malformed from field in message header

teepe 24 vuotta sitten
vanhempi
commit
42dae9b993
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);