aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/soap.c
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 /protocols/msn/soap.c
parent50c9996e00031b921a4a6bb114e6e25712e93315 (diff)
MSN changed the @msn.com login server URL and/or broke the old one. :-(
Diffstat (limited to 'protocols/msn/soap.c')
-rw-r--r--protocols/msn/soap.c6
1 files changed, 5 insertions, 1 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';