httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe_schae...@yahoo.com>
Subject Re: svn commit: r1035412 - /httpd/apreq/trunk/glue/perl/t/apreq/cookie.t
Date Mon, 15 Nov 2010 19:09:13 GMT
Didn't work for me ;-(.



----- Original Message ----
> From: Issac Goldstand <margol@beamartyr.net>
> To: apreq-dev@httpd.apache.org
> Sent: Mon, November 15, 2010 2:06:29 PM
> Subject: Re: svn commit: r1035412 - 
>/httpd/apreq/trunk/glue/perl/t/apreq/cookie.t
> 
> What was wrong here?  It ran fine by me as-is (and failed without  the
> rest of the patch)
> 
> On 15/11/2010 21:00, joes@apache.org wrote:
> > Author:  joes
> > Date: Mon Nov 15 19:00:28 2010
> > New Revision:  1035412
> >
> > URL: http://svn.apache.org/viewvc?rev=1035412&view=rev
> > Log:
> > fix  httponly test
> >
> > Modified:
> >      httpd/apreq/trunk/glue/perl/t/apreq/cookie.t
> >
> > Modified:  httpd/apreq/trunk/glue/perl/t/apreq/cookie.t
> > URL: 
>http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/perl/t/apreq/cookie.t?rev=1035412&r1=1035411&r2=1035412&view=diff
>
> > 
>==============================================================================
> > ; --- httpd/apreq/trunk/glue/perl/t/apreq/cookie.t (original)
> > +++  httpd/apreq/trunk/glue/perl/t/apreq/cookie.t Mon Nov 15 19:00:28 2010
> > @@  -172,11 +172,11 @@ my $location = Apache::TestRequest::modu
> >       my $test  = 'httponly';
> >      my $key   =  'apache';
> >      my $value = 'ok';
> > -     my $cookie = "$key=$value; HttpOnly";
> > +    my $cookie =  "foo=$test; path=/quux; domain=example.com; HttpOnly";
> >       my ($header) =
> >           GET_HEAD("$location?test=$test&key=$key") =~  
>/^#Set-Cookie:\s+(.+)/m;
> >  
> > -    ok t_cmp($header,  $cookie_in, $test);
> > +    ok t_cmp($header, $cookie,  $test);
> >  
> >  }
> >  
> >
> 
> 


      

Mime
View raw message