Changed download urls

I changed the download urls, because the current way with segments
(having the parameters between slashes) was causing problems with long
encoded urls, since a segment can be no longer than 255 characters. It
was changed to use regular url parameters which have no such limit on
length.
This commit is contained in:
René Simonsen
2015-10-26 10:20:14 +01:00
parent e56875f1a3
commit 4392219158
8 changed files with 42 additions and 13 deletions

View File

@@ -111,7 +111,7 @@ namespace Jackett
config.Routes.MapHttpRoute(
name: "download",
routeTemplate: "dl/{indexerID}/{apikey}/{path}/t.torrent",
routeTemplate: "dl/{indexerID}/{apiKey}",
defaults: new { controller = "Download", action = "Download" }
);