diff --git a/src/Jackett/Controllers/DownloadController.cs b/src/Jackett/Controllers/DownloadController.cs index e3cdc9686..05edde180 100644 --- a/src/Jackett/Controllers/DownloadController.cs +++ b/src/Jackett/Controllers/DownloadController.cs @@ -56,6 +56,12 @@ namespace Jackett.Controllers var torrentDictionary = BEncodedDictionary.DecodeTorrent(downloadBytes); downloadBytes = torrentDictionary.Encode(); + char[] invalidChars = System.IO.Path.GetInvalidFileNameChars(); + for(int i=0;i