Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little fix for some weird cookie string like Google Analytics #149

Merged
3 commits merged into from
Dec 15, 2010

Conversation

typester
Copy link
Contributor

I had some weird cookie string like '__utmv=XXXXXXX.|4=k4=false=1,;' and this caused following warnings:

Use of uninitialized value $key in exists at /home/homepage/perl5/perlbrew/perls/5.12.1/lib/site_perl/5.12.1/Plack/Request.pm line 78.
Use of uninitialized value $key in hash element at /home/homepage/perl5/perlbrew/perls/5.12.1/lib/site_perl/5.12.1/Plack/Request.pm line 78.

This little commit is for avoiding this warnings.

This fix is for some weird cookie string like '__utmv=XXXXXXX.|4=k4=false=1,;' that is used Google Analytics.
@miyagawa
Copy link
Member

Nice - can you add a unit test for this?

@typester
Copy link
Contributor Author

I thought you'd say that :)
will do

@typester
Copy link
Contributor Author

I've committed test too!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants