Post refactor fixes

This commit is contained in:
KZ
2015-07-28 20:22:23 +01:00
parent 51042e91fc
commit 499b53e9ed
18 changed files with 166 additions and 137 deletions

View File

@@ -39,7 +39,7 @@ namespace Jackett.Controllers
}
var remoteFile = Encoding.UTF8.GetString(HttpServerUtility.UrlTokenDecode(path));
var downloadBytes = await indexer.Download(new Uri(remoteFile));
var downloadBytes = await indexer.Download(new Uri(remoteFile, UriKind.RelativeOrAbsolute));
var result = new HttpResponseMessage(HttpStatusCode.OK);
result.Content = new ByteArrayContent(downloadBytes);