mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Fix for html entities being displayed in magnet links (#1092)
This commit is contained in:
parent
47a776c31d
commit
cb557e7345
3 changed files with 3 additions and 3 deletions
|
@ -145,7 +145,7 @@ if ($tor_reged && $tor_info) {
|
|||
|
||||
// Magnet link
|
||||
$user_passkey = \TorrentPier\Legacy\Torrent::getPasskey($bt_user_id);
|
||||
$tor_magnet = create_magnet($tor_info['info_hash'], $tor_info['info_hash_v2'], $user_passkey, wbr($t_data['topic_title']));
|
||||
$tor_magnet = create_magnet($tor_info['info_hash'], $tor_info['info_hash_v2'], $user_passkey, html_entity_decode($t_data['topic_title'], ENT_QUOTES, 'UTF-8'));
|
||||
|
||||
// ratio limits
|
||||
$min_ratio_dl = $bb_cfg['bt_min_ratio_allow_dl_tor'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue