From 782211d06a7f41a36b69185aef6f6e6eb7d20363 Mon Sep 17 00:00:00 2001 From: flightlevel Date: Sat, 27 Feb 2016 21:09:19 +1100 Subject: [PATCH] Fix IPTorrents url encoding Fix IPTorrents url encoding Issue https://github.com/Jackett/Jackett/issues/256 --- src/Jackett/Indexers/IPTorrents.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett/Indexers/IPTorrents.cs b/src/Jackett/Indexers/IPTorrents.cs index 2b7f0c0d4..ec1dc2ffd 100644 --- a/src/Jackett/Indexers/IPTorrents.cs +++ b/src/Jackett/Indexers/IPTorrents.cs @@ -165,7 +165,7 @@ namespace Jackett.Indexers release.PublishDate = DateTimeUtil.FromTimeAgo(dateString); var qLink = row.ChildElements.ElementAt(3).Cq().Children("a"); - release.Link = new Uri(SiteLink + qLink.Attr("href").TrimStart('/')); + release.Link = new Uri(SiteLink + HttpUtility.UrlEncode(qLink.Attr("href").TrimStart('/'))); var sizeStr = row.ChildElements.ElementAt(5).Cq().Text(); release.Size = ReleaseInfo.GetBytes(sizeStr);