Re: Problem logging into Yahoo

"A. Clausen" <[email protected]> Thu, 6 May 2004 13:30:51 -0700
Newsgroups gmane.mail.yosucker.general
Message-ID <000501c433a9$05f4b7b0$0f00a8c0@tandem>
----- Original Message ----- 
From: "Jeffrey F" <[email protected]>
To: <yosucker-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Sent: Thursday, May 06, 2004 13:58
Subject: Re: [Yosucker-general]Problem logging into Yahoo


> 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

That did the trick.  Thanks!

-- 
Aaron Clausen
[email protected]



-------------------------------------------------------
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