diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 4 | ||||
-rw-r--r-- | protocols/FacebookRM/src/version.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 391c7249f3..b4abb94c6a 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -754,7 +754,7 @@ void parseJsCookies(const std::string &search, const std::string &data, std::map if (pos2 == std::string::npos) continue; - std::string name = data.substr(pos, pos2 - pos); + std::string name = utils::url::encode(data.substr(pos, pos2 - pos)); pos = pos2 + 3; pos2 = data.find("\"", pos); @@ -762,7 +762,7 @@ void parseJsCookies(const std::string &search, const std::string &data, std::map continue; std::string value = data.substr(pos, pos2 - pos); - cookies[name] = utils::text::html_entities_decode(value); + cookies[name] = utils::url::encode(utils::text::html_entities_decode(value)); } } diff --git a/protocols/FacebookRM/src/version.h b/protocols/FacebookRM/src/version.h index 60620dffc4..6b963211f2 100644 --- a/protocols/FacebookRM/src/version.h +++ b/protocols/FacebookRM/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 2 #define __RELEASE_NUM 12 -#define __BUILD_NUM 0 +#define __BUILD_NUM 1 #include <stdver.h> |