From c0f9a5967f49773d7a3784252ea6912929f469ae Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 7 Jun 2015 11:33:38 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@14046 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/requests/mslogin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/requests') 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"))); -- cgit v1.2.3