We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a63e03e commit 53275c1Copy full SHA for 53275c1
main/inc/lib/TicketManager.php
@@ -1277,6 +1277,7 @@ public static function get_ticket_detail_by_id($ticketId)
1277
1278
$result_attach = Database::query($sql);
1279
while ($row2 = Database::fetch_assoc($result_attach)) {
1280
+ $row2['filename'] = Security::remove_XSS($row2['filename']);
1281
$archiveURL = $webPath.'ticket/download.php?ticket_id='.$ticketId.'&id='.$row2['id'];
1282
$row2['attachment_link'] = $attach_icon.
1283
' <a href="'.$archiveURL.'">'.$row2['filename'].'</a> ('.$row2['size'].')';
0 commit comments