Browse Source

fix duplicate htmlspecialchars of $sTmp; this comes straight from
decodeHeader that already applies htmlspecialchars to the string.

Thijs Kinkhorst 17 năm trước cách đây
mục cha
commit
5e85598e72
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

@@ -569,7 +569,7 @@ function prepareMessageList(&$aMailbox, $aProps) {
                             $sTrunc = truncateWithEntities($sTmp, $aColumnDesc[$k]['truncate']);
                             if ($sTrunc != $sTmp) {
                                 if (!$title) {
-                                    $title = htmlspecialchars($sTmp);
+                                    $title = $sTmp;
                                 } else if ($title_maybe) {
                                     $title = $title .', '.$title_maybe;
                                     $title = substr($title,0,-2); // strip ', ';