diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-20 16:46:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-20 16:46:42 +0000 |
commit | 1e04ea836d421343cafdc605f9cfe0cf79ef24f1 (patch) | |
tree | 43e7168a876f6a66dbcf52c58bc145414c201092 /protocols/FacebookRM | |
parent | 856f604fd0cffa212b06cabfb7a5324c8e4d5460 (diff) |
fix for the redirection processing in Facebook
git-svn-id: http://svn.miranda-ng.org/main/trunk@4486 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index fe8d53c121..2a896764eb 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -33,7 +33,7 @@ http::response facebook_client::flap(const int request_type, std::string* reques nlhr.requestType = !method ? choose_method(request_type) : method;
std::string url = choose_request_url(request_type, request_data, request_get_data);
nlhr.szUrl = (char*)url.c_str();
- nlhr.flags = NLHRF_HTTP11 | NLHRF_NODUMP | choose_security_level(request_type);
+ nlhr.flags = NLHRF_REDIRECT | NLHRF_HTTP11 | NLHRF_NODUMP | choose_security_level(request_type);
nlhr.headers = get_request_headers(nlhr.requestType, &nlhr.headersCount);
switch (request_type)
|