1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-24 23:22:46 +00:00

Curl: Fix Bad Request errors

This commit is contained in:
kaso17 2016-12-11 15:43:39 +01:00
parent 6f54958ec0
commit 1050157546

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;