URL Encode for newznab query strings, closes #818 (#819)

Closes #818
Mihai Blaga 8 years ago committed by Devin Buhl
parent 1c0f9b64ca
commit a1745cd02e

@ -57,7 +57,7 @@ namespace NzbDrone.Core.Indexers.Newznab
}
else
{
pageableRequests.Add(GetPagedRequests(MaxPages, Settings.Categories, "search", $"&q={Parser.Parser.NormalizeTitle(searchCriteria.Movie.Title)}%20{searchCriteria.Movie.Year}"));
pageableRequests.Add(GetPagedRequests(MaxPages, Settings.Categories, "search", $"&q={System.Web.HttpUtility.UrlPathEncode(Parser.Parser.NormalizeTitle(searchCriteria.Movie.Title))}%20{searchCriteria.Movie.Year}"));
}
return pageableRequests;

Loading…
Cancel
Save