From 7796aba342f2b7b87b50be1d0d5e17b6da158f97 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 3 Nov 2023 14:06:15 +0200 Subject: [PATCH] append torrent filename to the manual wanted downloads --- src/Controller/TorrentController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Controller/TorrentController.php b/src/Controller/TorrentController.php index 5bc0b04..9b22608 100644 --- a/src/Controller/TorrentController.php +++ b/src/Controller/TorrentController.php @@ -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() ) );