diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-06 11:40:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-06 11:40:08 +0300 |
commit | 9d1a4eae982f3e5b97e03cefa99856077b873342 (patch) | |
tree | 349f60d481b9a0b766c198ce4f62ddefa57b751c | |
parent | a72a57d89f772fca464f3f8eb869e0fa185bda25 (diff) |
fixes #1875 (Facebook cannot login)
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index d865b85c06..a7e59ef64b 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -802,6 +802,7 @@ bool facebook_client::reconnect() std::string redir = utils::text::source_get_value(&resp.data, 2, "\"redirect\":\"", "\""); if (!redir.empty()) { + redir = utils::text::html_entities_decode(redir); parent->debugLogA("Redirecting to %s", redir.c_str()); auto *p = new HttpRequest(REQUEST_GET, FACEBOOK_SERVER_REGULAR); |