mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Remove html entities for file names (#1094)
This commit is contained in:
parent
cb557e7345
commit
dc3cd6ec51
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ class Torrent
|
||||||
// Send torrent
|
// Send torrent
|
||||||
$output = \Arokettu\Bencode\Bencode::encode($tor);
|
$output = \Arokettu\Bencode\Bencode::encode($tor);
|
||||||
|
|
||||||
$dl_fname = wbr($topic_title) . ' [' . $bb_cfg['server_name'] . '-' . $topic_id . ']' . '.torrent';
|
$dl_fname = html_entity_decode($topic_title, ENT_QUOTES, 'UTF-8') . ' [' . $bb_cfg['server_name'] . '-' . $topic_id . ']' . '.torrent';
|
||||||
|
|
||||||
if (!empty($_COOKIE['explain'])) {
|
if (!empty($_COOKIE['explain'])) {
|
||||||
$out = "attach path: $filename<br /><br />";
|
$out = "attach path: $filename<br /><br />";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue