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
$response->headers->set( $response->headers->set(
'Content-Disposition', 'Content-Disposition',
sprintf( sprintf(
'attachment; filename="wanted#%s.torrent";', 'attachment; filename="%s [wanted#%s].torrent";',
$file->getName(),
$torrent->getId() $torrent->getId()
) )
); );

Loading…
Cancel
Save