summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/http_request.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-08 22:26:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-08 22:26:42 +0300
commitc9c758098feed5ad2e9f5fe46c9ec9d8057c53ed (patch)
treed874f13f72b06a780d7453afe8ce34eabbec8e92 /protocols/FacebookRM/src/http_request.h
parent1e5ae8efefc6f50082c1c1734c763aab2fb1b7f5 (diff)
fix for wrong url encoded request's body
Diffstat (limited to 'protocols/FacebookRM/src/http_request.h')
-rw-r--r--protocols/FacebookRM/src/http_request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/http_request.h b/protocols/FacebookRM/src/http_request.h
index 0c2aa14e67..ffdb6d40ce 100644
--- a/protocols/FacebookRM/src/http_request.h
+++ b/protocols/FacebookRM/src/http_request.h
@@ -161,7 +161,7 @@ protected:
HttpRequestBody& operator<<(const CHAR_PARAM &param)
{
AppendSeparator();
- content.AppendFormat("%s=%s", param.szName, param.szValue);
+ content.AppendFormat("%s=%s", param.szName, utils::url::encode(param.szValue).c_str());
return *this;
}