diff --git a/library/includes/file_list_v2.php b/library/includes/file_list_v2.php index ac37807bb..6b7174a91 100644 --- a/library/includes/file_list_v2.php +++ b/library/includes/file_list_v2.php @@ -35,14 +35,13 @@ $torrent = new TorrentPier\Legacy\TorrentFileList($tor); $file_list = $torrent->fileTreeTable($tor['info']['file tree']); $date = ''; -$name = $tor['info']['name'] ?? ''; +$name = htmlCHR($tor['info']['name'] ?? ''); if (isset($tor['creation date']) && is_numeric($tor['creation date'])) { $date = date("d M Y | G:i:s T", $tor['creation date']); } $size = humn_size($file_list['size']); -echo " - +echo "
@@ -50,7 +49,7 @@ echo "Location | Size | BTMR hash ? |
---|
Path | Size | Hash ? |
---|
Generated by TorrentPier
'; diff --git a/styles/templates/default/viewtopic_attach.tpl b/styles/templates/default/viewtopic_attach.tpl index eb8727174..238fa2f9e 100644 --- a/styles/templates/default/viewtopic_attach.tpl +++ b/styles/templates/default/viewtopic_attach.tpl @@ -169,7 +169,7 @@{postrow.attach.tor_reged.FILESIZE}
- +