------=_Part_42715_19139703.1220750866077 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok! Done, debug output that prints the headers removed and regexp case insensitive. 2008/9/7 Matt Rogers : > > On Sep 6, 2008, at 12:58 PM, Jose Carlos Norte wrote: > >> Today I have compiled the last kopete from trunk, and the msn protocol >> was broken. >> >> After some research, I have found that kioslave http was not sending >> the http headers, due to a modification in the kioslave. >> >> After getting this patched by ahartmetz (maelcum), I noticed that >> still don't logs into the msn network. >> >> So I noticed that the protocol have changed a bit, please test this >> patch in: kdenetwork/kopete/protocols/msn/msnsecureloginhandler.cpp >> >> with the LAST kdelibs from trunk, to see if your kopete is able to >> login against msn: >> >> @@ -55,9 +55,9 @@ >> { >> // Retrive the HTTP header >> QString httpHeaders = >> loginJob->queryMetaData("HTTP-Headers"); >> - >> + kDebug() << httpHeaders; >> // Get the login URL using QRegExp >> - QRegExp rx("PassportURLs: >> DARealm=(.*),DALogin=(.*),DAReg="); >> + QRegExp rx("passporturls: >> DARealm=(.*),DALogin=(.*),DAReg="); >> rx.indexIn(httpHeaders); >> >> // Set the loginUrl and loginServer >> >> Thanks. > > A few things: > 1. Remove the debug output that prints the headers. > 2. Can you make that regexp case-insensitive, just in case they decide to go > back to the old way? > 3. Attach the patch to your email. This makes it easier to apply. > > Thanks > -- > Matt > ------=_Part_42715_19139703.1220750866077 Content-Type: text/x-diff; name=msnsecureloginhandler.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fksziwl30 Content-Disposition: attachment; filename=msnsecureloginhandler.patch SW5kZXg6IG1zbnNlY3VyZWxvZ2luaGFuZGxlci5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gbXNuc2VjdXJl bG9naW5oYW5kbGVyLmNwcAkocmV2aXNpw7NuOiA4NTc4NjcpCisrKyBtc25zZWN1cmVsb2dpbmhh bmRsZXIuY3BwCShjb3BpYSBkZSB0cmFiYWpvKQpAQCAtNTgsNiArNTgsNyBAQAogCiAJCS8vIEdl dCB0aGUgbG9naW4gVVJMIHVzaW5nIFFSZWdFeHAKIAkJUVJlZ0V4cCByeCgiUGFzc3BvcnRVUkxz OiBEQVJlYWxtPSguKiksREFMb2dpbj0oLiopLERBUmVnPSIpOworCQlyeC5zZXRDYXNlU2Vuc2l0 aXZpdHkoUXQ6OkNhc2VJbnNlbnNpdGl2ZSk7CiAJCXJ4LmluZGV4SW4oaHR0cEhlYWRlcnMpOwog CiAJCS8vIFNldCB0aGUgbG9naW5VcmwgYW5kIGxvZ2luU2VydmVyCg== ------=_Part_42715_19139703.1220750866077 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel ------=_Part_42715_19139703.1220750866077--