summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/http_request.h
diff options
context:
space:
mode:
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;
}