aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-01-22 17:29:55 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2011-01-22 17:29:55 +0000
commit5282ffd40e07bbcbe4f5c796d054eeb7a1a275ee (patch)
tree8dabec37c6df00fefcd89eb50b9860557580ec5a
parent50c9996e00031b921a4a6bb114e6e25712e93315 (diff)
MSN changed the @msn.com login server URL and/or broke the old one. :-(
-rw-r--r--protocols/msn/soap.c6
-rw-r--r--protocols/msn/soap.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c
index eb0e34e7..4e4dc9d9 100644
--- a/protocols/msn/soap.c
+++ b/protocols/msn/soap.c
@@ -277,10 +277,14 @@ static int msn_soap_passport_sso_build_request( struct msn_soap_req_data *soap_r
soap_req->url = sd->redirect;
sd->redirect = NULL;
}
+ /* MS changed this URL and broke the old MSN-specific one. The generic
+ one works, forwarding us to a msn.com URL that works. Takes an extra
+ second, but that's better than not being able to log in at all. :-/
else if( g_str_has_suffix( ic->acc->user, "@msn.com" ) )
soap_req->url = g_strdup( SOAP_PASSPORT_SSO_URL_MSN );
else
- soap_req->url = g_strdup( SOAP_PASSPORT_SSO_URL );
+ */
+ soap_req->url = g_strdup( SOAP_PASSPORT_SSO_URL );
strncpy( pass, ic->acc->pass, MAX_PASSPORT_PWLEN );
pass[MAX_PASSPORT_PWLEN] = '\0';
diff --git a/protocols/msn/soap.h b/protocols/msn/soap.h
index c844d3ad..a767e00d 100644
--- a/protocols/msn/soap.h
+++ b/protocols/msn/soap.h
@@ -61,7 +61,7 @@ int msn_soapq_flush( struct im_connection *ic, gboolean resend );
#define SOAP_PASSPORT_SSO_URL "https://login.live.com/RST.srf"
-#define SOAP_PASSPORT_SSO_URL_MSN "https://msnia.login.live.com/pp800/RST.srf"
+#define SOAP_PASSPORT_SSO_URL_MSN "https://msnia.login.live.com/pp900/RST.srf"
#define MAX_PASSPORT_PWLEN 16
#define SOAP_PASSPORT_SSO_PAYLOAD \