summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src')
-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")));