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 /protocols/FacebookRM/src/communication.cpp | |
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
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 4 |
1 files changed, 2 insertions, 2 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)); } } |