mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
Fixed: ToString() to AbsoluteUri for MagnetUrls as well
This commit is contained in:
@@ -152,7 +152,7 @@ namespace NzbDrone.Api.V1.Indexers
|
||||
|
||||
if (result.DownloadProtocol == DownloadProtocol.Torrent)
|
||||
{
|
||||
((TorrentInfo)result).MagnetUrl = ((TorrentInfo)result).MagnetUrl.IsNotNullOrWhiteSpace() ? _downloadMappingService.ConvertToProxyLink(new Uri(((TorrentInfo)result).MagnetUrl), request.server, indexerDef.Id, result.Title).ToString() : null;
|
||||
((TorrentInfo)result).MagnetUrl = ((TorrentInfo)result).MagnetUrl.IsNotNullOrWhiteSpace() ? _downloadMappingService.ConvertToProxyLink(new Uri(((TorrentInfo)result).MagnetUrl), request.server, indexerDef.Id, result.Title).AbsoluteUri : null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user