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

Closes #818
This commit is contained in:
Mihai Blaga 2017-02-20 18:17:28 +02:00 committed by Devin Buhl
parent 1c0f9b64ca
commit a1745cd02e
1 changed files with 1 additions and 1 deletions

View File

@ -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;