mirror of
https://github.com/Radarr/Radarr
synced 2025-02-23 14:51:17 +00:00
Fix download links for FileList when passkey contains spaces
This commit is contained in:
parent
3fbccc6af3
commit
525ed65687
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,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