httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hedges <>
Subject Re: skip bad cookie value in Apache2::Cookie::Jar?
Date Wed, 22 Dec 2010 01:09:28 GMT

On Tue, 21 Dec 2010, Joe Schaefer wrote:
> > Could Apache2::Cookie::Jar maybe have an option to skip
> > NOTOKEN  errors when reading the jar?  Then it would do
> > something like  below.  Or does the eval have to happen in
> > the 'each %attrs' loop of  Jar->new().
> The issue has nothing to do with browsers.  It has to do
> with 3rd party apps that generate bogus cookies. If you
> want apreq to ignore those cookies, just use eval {} and
> trap the exception.
> If you want to fix those 3rd party cookie apps, it's good
> that apreq lets you know there's a problem.

That makes sense.  Now I get the jar with eval { } in my
thing only if a directive is set to do that.  Thanks for
the input.


View raw message