Merge branch '5.5' into 6.0
authorAlexander Ebert <ebert@woltlab.com>
Mon, 1 Jan 2024 13:08:38 +0000 (14:08 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 1 Jan 2024 13:08:38 +0000 (14:08 +0100)
1  2 
wcfsetup/install/files/lib/data/attachment/GroupedAttachmentList.class.php
wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php

index 2951339fbe0d81a90a9a1a622ca23864f462916d,1c9cf9a610c13732d93563bde230c21102d2c1d7..83b87d1c52cc13eff45c9f14b2064d143a32ed59
@@@ -114,8 -146,8 +115,8 @@@ class ModerationQueueAction extends Abs
  
          $items = \array_map(static function (ViewableModerationQueue $queue) {
              return [
-                 'content' => $queue->getAffectedObject()->getTitle(),
+                 'content' => StringUtil::encodeHTML($queue->getAffectedObject()->getTitle()),
 -                'image' => '<span class="icon icon48 ' . $queue->getIconName() . '"></span>',
 +                'image' => $queue->getIcon()->toHtml(48),
                  'isUnread' => $queue->isNew(),
                  'link' => $queue->getLink(),
                  'objectId' => $queue->queueID,