Replace WebUtility.UrlEncode to Uri.EscapeDataString

This commit is contained in:
François-Xavier Payet
2022-01-15 21:17:17 +01:00
committed by Qstick
parent aa59da2f22
commit a7b1ef19f5
5 changed files with 6 additions and 6 deletions
@@ -174,7 +174,7 @@ namespace NzbDrone.Core.Indexers.Definitions
if (term.IsNotNullOrWhiteSpace())
{
searchUrl += string.Format("?do=search&keywords={0}&search_type=t_name&category=0&include_dead_torrents=no", WebUtility.UrlEncode(term));
searchUrl += string.Format("?do=search&keywords={0}&search_type=t_name&category=0&include_dead_torrents=no", Uri.EscapeDataString(term));
}
if (categories != null && categories.Length > 0)