Re: Problem logging into Yahoo

"Jeffrey F" <[email protected]> Thu, 6 May 2004 15:58:19 -0500
Newsgroups gmane.mail.yosucker.general
Message-ID <[email protected]>
Ok. After some more debugging, it looks like the page3 redirect is no longer
there. Commenting it out completely seems to do the trick.

Apply this patch to lib/sputnik.pm

--- sputnik.good        2004-05-06 12:14:33.000000000 -0400
+++ sputnik.pm  2004-05-06 15:54:36.000000000 -0400
@@ -399,20 +399,20 @@
   # STEP 3
   ##

-  $host = (split("\/",$location))[0];
-  $location =~ s/$host//g;
-  $what = $location;
-  chomp($what);
+  #$host = (split("\/",$location))[0];
+  #$location =~ s/$host//g;
+  #$what = $location;
+  #chomp($what);

   # Third login redirect
-  my $page3 = ShortPage->new(\$class->{config}, \$class->{cookiez});
+  #my $page3 = ShortPage->new(\$class->{config}, \$class->{cookiez});

-  $location=$page3->load($host, $what);
+  #$location=$page3->load($host, $what);

   # Set referer...
-  $class->{config}{REFERER} = "http://$host$what";
+  #$class->{config}{REFERER} = "http://$host$what";

-  print "." if $class->{config}{DEBUG};                 # DEBUG
+  #print "." if $class->{config}{DEBUG};                 # DEBUG

   ###
   # STEP 4


--Jeffrey


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3