Skip Menu |

This queue is for tickets about the Cookie-XS CPAN distribution.

Report information
The Basics
Id: 34238
Status: resolved
Priority: 0/
Queue: Cookie-XS

People
Owner: Nobody in particular
Requestors: yorhel [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.07
Fixed in: (no value)



Subject: '=' as part of the cookie value
First of all, thanks for Cookie::XS, it's exactly what I have been looking for. I did, however, found a bug with parsing cookies which have a value containing the '=' character. Cookie::XS->parse("foo=ba=r") = { 'ba' => [ 'r' ], 'foo' => [] } While I expected it to return { 'foo' => [ 'ba=r' ] } Cookie-XS-0.07, perl v5.8.8 on i686-linux-thread-multi
CC: "于 霆" <yuting [...] alibaba-inc.com>
Subject: Re: [rt.cpan.org #34238] '=' as part of the cookie value
Date: Thu, 20 Mar 2008 10:43:52 +0800
To: bug-Cookie-XS [...] rt.cpan.org
From: "Agent Zhang" <agentzh [...] gmail.com>
On Wed, Mar 19, 2008 at 11:28 PM, Yoran Heling via RT <bug-Cookie-XS@rt.cpan.org> wrote: Show quoted text
> > First of all, thanks for Cookie::XS, it's exactly what I have been > looking for. >
Glad you like it :) Show quoted text
> I did, however, found a bug with parsing cookies which have a value > containing the '=' character. > > Cookie::XS->parse("foo=ba=r") = { 'ba' => [ 'r' ], 'foo' => [] } >
Thanks for the catch. Will fix this in the next CPAN release :) Also the next release will include another patch fixing a stack overflow when cookies are too big. Best, -agentzh
RT-Send-CC: yuting [...] alibaba-inc.com
Already fixed in the 0.08 release, which should appear on the CPAN mirror near you in the next few hours :)