AnyEvent::HTTP and "bad" cookies

Vladimir V. Perepelitsa inthrax at gmail.com
Sun Jun 20 14:16:50 CEST 2010


>
> Neither of these regexes follows the new rfc though, so you should first
> decide what your goals are - replace the correct regex by something
> random? I doubt "browsers" do it that way...

My reply was to José Micó. That was only a sample how it could be
solved without additional replace regexp.
I'm not for partial solution, that is wrong either from point of
rfc209 or from point of new draft.
I think, it's worth creating new regexp, that follows rfc draft. Then
it will "eat" any type of cookie, presented in the world
I've begin to write such regexp (since I have a standalone module for
cookie parsing), and if you agree, I'll make a new patch with such new
regexp.

-- 
Best wishes,
Vladimir V. Perepelitsa aka Mons Anderson
<inthrax at gmail.com>, <mons at cpan.org>



More information about the anyevent mailing list