diff options
-rw-r--r-- | protocols/msn/soap.c | 6 | ||||
-rw-r--r-- | protocols/msn/soap.h | 2 |
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 \ |