Curl: Fix Bad Request errors

This commit is contained in:
kaso17 2016-12-11 15:43:39 +01:00
parent 6f54958ec0
commit 1050157546
1 changed files with 1 additions and 1 deletions

View File

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