Apache2::Cookie blank value bug?

2005-08-24 Thread Ted
Blank value in cookie causes server to die with a Segmentation Fault. my $value = ''; my $cookie = Apache2::Cookie->new($r, -name => 'test_cookie', -value => $value, -path => '/', ); $cookie->bake($r)

Re: Apache2::Cookie blank value bug?

2005-08-24 Thread Dan Brian
On Aug 24, 2005, at 3:40 PM, Ted wrote: Blank value in cookie causes server to die with a Segmentation Fault. For me, too.

Re: Apache2::Cookie blank value bug?

2005-08-24 Thread Jonathan Vanasco
Which versions of : Apache mod_perl libapreq2 ? also, what os this might be better suited to the libapreq list - but that info is kinda needed On Aug 24, 2005, at 5:40 PM, Ted wrote: Blank value in cookie causes server to die with a Segmentation Fault. my $value = ''; my $

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread John ORourke
No solution but a work-around is to set the value to something and set -expires=>0, which should delete the cookie from the browser. Blank values are contrary to the RFC anyway so you probably shouldn't be trying to use them. cheers John Ted wrote: Blank value in cookie causes server to d

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread Ted
Sorry if I posted to the wrong list, but to answer your question. Apache/2.0.54 mod_perl 2.01 libapreq2-2.06-dev Solaris 9 Jonathan Vanasco wrote: Which versions of : Apache mod_perl libapreq2 ? also, what os this might be better suited to the libapreq list - but that info is

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread Philip M. Gollucci
Ted wrote: Blank value in cookie causes server to die with a Segmentation Fault. my $value = ''; my $cookie = Apache2::Cookie->new($r, -name => 'test_cookie', -value => $value, -path => '/', ); $cookie->bake($r) > Apache/2.0.54 > mod_per

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread Philip M. Gollucci
Philip M. Gollucci wrote: Ted wrote: Blank value in cookie causes server to die with a Segmentation Fault. my $value = ''; my $cookie = Apache2::Cookie->new($r, -name => 'test_cookie', -value => $value, -path => '/', ); $cookie->bake($r