Skip to content

Commit

Permalink
Fix libcurl implementation when using query params
Browse files Browse the repository at this point in the history
Query parameters were silently dropped
Fixes #195
  • Loading branch information
faxm0dem committed Apr 1, 2016
1 parent 46148fc commit d498370
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions push.cpp
Expand Up @@ -1856,6 +1856,10 @@ CURLcode make_curl_request(const CString& service_host, const CString& service_u

CString url = CString(use_ssl ? "https" : "http") + "://" + service_host + service_url;
CString query = build_query_string(params);
if (!query.empty())
{
url = url + "?" + query;
}

if (debug)
{
Expand Down

0 comments on commit d498370

Please sign in to comment.