append torrent filename to the manual wanted downloads

This commit is contained in:
ghost 2023-11-03 14:06:15 +02:00
parent 2e4129927d
commit 7796aba342

View File

@ -2534,7 +2534,8 @@ class TorrentController extends AbstractController
$response->headers->set(
'Content-Disposition',
sprintf(
'attachment; filename="wanted#%s.torrent";',
'attachment; filename="%s [wanted#%s].torrent";',
$file->getName(),
$torrent->getId()
)
);