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

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

@ -57,7 +57,7 @@ namespace NzbDrone.Core.Indexers.Newznab
} }
else 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; return pageableRequests;

Loading…
Cancel
Save