summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/FacebookRM/src/communication.cpp1
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);