Author: shadzik                      Date: Wed May  2 00:15:23 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix login to orangembox

---- Files affected:
SOURCES:
   sms-orange.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/sms-orange.patch
diff -u /dev/null SOURCES/sms-orange.patch:1.1
--- /dev/null   Wed May  2 02:15:23 2007
+++ SOURCES/sms-orange.patch    Wed May  2 02:15:18 2007
@@ -0,0 +1,14 @@
+--- orangembox.cc      2006-12-26 02:58:14.000000000 +0100
++++ orangembox.cc-new  2007-05-02 02:13:43.036573158 +0200
+@@ -57,9 +57,9 @@
+                       " ");
+               form.AddField("_DARGS", "/gear/static/signIn.jsp");
+               
+-              status = 
curl.PerformPost("https://www.orange.pl/portal/map/map/signin?_DARGS=/gear/static/signIn.jsp";,
++              status = 
curl.PerformPost("https://www.orange.pl/portal/map/map/signin?_DARGS=/gear/static/signInLoginBox.jsp";,
+                       form.PostFields());
+-              if (status) throw Exception("[2] - 
https://www.orange.pl/portal/map/map/signin?_DARGS=/gear/static/signIn.jsp";);
++              if (status) throw Exception("[2] - 
https://www.orange.pl/portal/map/map/signin?_DARGS=/gear/static/signInLoginBox.jsp";);
+ 
+               ok = curl.Body().find("zalogowany jako") != string::npos;
+               if (!ok) throw Exception("[2] - błąd podczas logowania");
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to