mirror of https://github.com/Jackett/Jackett
Curl: Fix Bad Request errors
This commit is contained in:
parent
6f54958ec0
commit
1050157546
|
@ -30,7 +30,7 @@ namespace Jackett
|
|||
public CurlRequest(HttpMethod method, string url, string cookies = null, string referer = null, Dictionary<string, string> headers = null, string rawPOSTData = null)
|
||||
{
|
||||
Method = method;
|
||||
Url = url;
|
||||
Url = url.Replace(" ", "+"); // avoids bad request to cloudflare for urls containing a space followed by H (" H")
|
||||
Cookies = cookies;
|
||||
Referer = referer;
|
||||
Headers = headers;
|
||||
|
|
Loading…
Reference in New Issue