Explorar o código

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

Thijs Kinkhorst %!s(int64=17) %!d(string=hai) anos
pai
achega
5e85598e72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']);
                             $sTrunc = truncateWithEntities($sTmp, $aColumnDesc[$k]['truncate']);
                             if ($sTrunc != $sTmp) {
                             if ($sTrunc != $sTmp) {
                                 if (!$title) {
                                 if (!$title) {
-                                    $title = htmlspecialchars($sTmp);
+                                    $title = $sTmp;
                                 } else if ($title_maybe) {
                                 } else if ($title_maybe) {
                                     $title = $title .', '.$title_maybe;
                                     $title = $title .', '.$title_maybe;
                                     $title = substr($title,0,-2); // strip ', ';
                                     $title = substr($title,0,-2); // strip ', ';