From dfae79c28a0e217e308228d0c9f603751fcc18ed Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 2 Jul 2015 15:41:09 +0300 Subject: [PATCH] Fixed integration unit test. Url parameter for curl should always be screened. --- 3party/Alohalytics/src/posix/http_client_curl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3party/Alohalytics/src/posix/http_client_curl.cc b/3party/Alohalytics/src/posix/http_client_curl.cc index b2823c0d4a..281263d4b6 100644 --- a/3party/Alohalytics/src/posix/http_client_curl.cc +++ b/3party/Alohalytics/src/posix/http_client_curl.cc @@ -112,7 +112,7 @@ bool HTTPClientPlatformWrapper::RunHTTPRequest() { cmd += "--data-binary @" + body_file_ + " "; } - cmd += url_requested_; + cmd += "'" + url_requested_ + "'"; try { // TODO(AlexZ): Do not store data in memory if received_file_ was specified. server_response_ = RunCurl(cmd);