mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-08 12:33:04 +02:00
Fix download links for FileList when passkey contains spaces
This commit is contained in:
parent
32bbde55e7
commit
06fa6e53ae
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ private string GetDownloadUrl(string torrentId)
|
||||||
var url = new HttpUri(_settings.BaseUrl)
|
var url = new HttpUri(_settings.BaseUrl)
|
||||||
.CombinePath("download.php")
|
.CombinePath("download.php")
|
||||||
.AddQueryParam("id", torrentId)
|
.AddQueryParam("id", torrentId)
|
||||||
.AddQueryParam("passkey", _settings.Passkey);
|
.AddQueryParam("passkey", _settings.Passkey.Trim());
|
||||||
|
|
||||||
return url.FullUri;
|
return url.FullUri;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue