Browse Source

append torrent filename to the manual wanted downloads

main
ghost 1 year ago
parent
commit
7796aba342
  1. 3
      src/Controller/TorrentController.php

3
src/Controller/TorrentController.php

@ -2534,7 +2534,8 @@ class TorrentController extends AbstractController @@ -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()
)
);

Loading…
Cancel
Save