[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [kopete-devel] Bug in the msn protocol
From:       "Jose Carlos Norte" <jose () eyeos ! org>
Date:       2008-09-06 17:58:55
Message-ID: 23a91a6b0809061058g591ffafdp57b75b4db1df554c () mail ! gmail ! com
[Download RAW message or body]

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.
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic