summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-06-07 11:33:38 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-06-07 11:33:38 +0000
commitc0f9a5967f49773d7a3784252ea6912929f469ae (patch)
treea0ba91ec21bb0c19f8b9290ca384d73199587fb3 /protocols/SkypeWeb/src/requests
parent1460874d85dde2db9dfa03e6489e543a5be3b7c5 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@14046 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r--protocols/SkypeWeb/src/requests/mslogin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/mslogin.h b/protocols/SkypeWeb/src/requests/mslogin.h
index 196be7a548..abbecdd900 100644
--- a/protocols/SkypeWeb/src/requests/mslogin.h
+++ b/protocols/SkypeWeb/src/requests/mslogin.h
@@ -47,7 +47,7 @@ public:
<< CHAR_VALUE ("PPFT", ppft);
}
LoginMSRequest(const char *t) :
- HttpRequest(REQUEST_POST, "login.skype.com/login/oauth/microsoft")
+ HttpRequest(REQUEST_POST, "login.skype.com/login/oauth")
{
Url
<< INT_VALUE ("client_id", 578134)
@@ -57,7 +57,7 @@ public:
<< CHAR_VALUE ("Content-Type", "application/x-www-form-urlencoded");
Body
- << CHAR_VALUE ("t", t)
+ << CHAR_VALUE ("t", ptrA(mir_urlEncode(t)))
<< INT_VALUE ("oauthPartner", 999)
<< INT_VALUE ("client_id", 578134)
<< CHAR_VALUE ("redirect_uri", ptrA(mir_urlEncode("https://web.skype.com")));