provided by the decodeHeader(). E.g. if there was any non-ascii
characters in the "From:" line, the decodeHeader would return them
as entities, "&#NNNN;&#NNNN;....", and htmlspecialchars would reduce
this to "&#NNNN;&#NNNN...." which looked EXTRAORDINARILY
ugly when rendered in a browser.
This is a stop-gap measure -- htmlspecialchars should be called at some
point.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2068
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- $senderName = htmlspecialchars(sqimap_find_displayable_name($msg['FROM']));
+ $senderName = sqimap_find_displayable_name($msg['FROM']);
if( $mailbox == 'None' ) {
// $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
$boxes = sqimap_mailbox_list($imapConnection);
if( $mailbox == 'None' ) {
// $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
$boxes = sqimap_mailbox_list($imapConnection);