mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-07 00:11:42 +01:00
Revert "Remove extra replacing (already done by Uri.EscapeDataString)"
This reverts commit 6880f38635.
This commit is contained in:
parent
62f6670a21
commit
ae5d93d6dd
1 changed files with 1 additions and 1 deletions
|
|
@ -1013,7 +1013,7 @@ private IEnumerable<IndexerRequest> GetRequest(Dictionary<string, object> variab
|
|||
|
||||
// build search URL
|
||||
// HttpUtility.UrlPathEncode seems to only encode spaces, we use UrlEncode and replace + with %20 as a workaround
|
||||
var searchUrl = ResolvePath(ApplyGoTemplateText(searchPath.Path, variables, Uri.EscapeDataString)).AbsoluteUri;
|
||||
var searchUrl = ResolvePath(ApplyGoTemplateText(searchPath.Path, variables, Uri.EscapeDataString).Replace("+", "%20")).AbsoluteUri;
|
||||
var queryCollection = new List<KeyValuePair<string, string>>();
|
||||
var method = HttpMethod.Get;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue