git » msnlib » commit aa499bb

Change login parameter to work around protocol changes.

author Alberto Bertogli
2007-10-30 17:29:05 UTC
committer Alberto Bertogli
2007-10-30 17:29:05 UTC
parent 85bddf7d9db567e2cd640e1231c7284453ae64a4

Change login parameter to work around protocol changes.

Apparently, the protocol has changed, and now this parameter needs to be
changed in order to log in.

Thanks to Pablo Mazzini <pmazzini@gmail.com> for the report and fix.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

msnlib.py +1 -1

diff --git a/msnlib.py b/msnlib.py
index 52b84af..2760ce9 100644
--- a/msnlib.py
+++ b/msnlib.py
@@ -540,7 +540,7 @@ class msnd:
 		ahead += ',sign-in=' + urllib.quote(self.email)
 		ahead += ',pwd=' + urllib.quote(self.pwd)
 		ahead += ',lc=1033,id=507,tw=40,fs=1,'
-		ahead += 'ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1062764229,'
+		ahead += 'ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=0,'
 		ahead += 'kpp=1,kv=5,ver=2.1.0173.1,tpf=' + hash
 		headers = { 'Authorization': ahead }