From d49837056ef8d32a39e1b6d8d89f69043d69c404 Mon Sep 17 00:00:00 2001 From: Fabien Wernli Date: Fri, 1 Apr 2016 14:52:43 +0200 Subject: [PATCH] Fix libcurl implementation when using query params Query parameters were silently dropped Fixes #195 --- push.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/push.cpp b/push.cpp index d8075c1..57fef1b 100755 --- a/push.cpp +++ b/push.cpp @@ -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) {