diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-03-13 19:56:04 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-03-13 19:56:04 +0000 |
commit | 64b6d04dd00661aea800ad6c67542cac54d5bdb3 (patch) | |
tree | 5d346d9df1aff105862806c89e2507bc8ca76d26 | |
parent | 3680d4e2acd1777bb7c7f103ae8fdf7c8c2c3e6a (diff) |
Facebook: Fix missed encoding of js cookies; version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@16477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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> |