X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine.pm;h=a442f6b753735bbf8dfc1ae6e4b947f4ed539eb0;hb=db9407301b748638a6f3b72d459bf7cc74162468;hp=e770f325fb97fd8ade0cbe9ecd6dbd4ec8af6260;hpb=a84683240a2c46b54f93e15b23b479f5f652f92f;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index e770f32..a442f6b 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -93,6 +93,7 @@ sub finalize_cookies { -httponly => $val->{httponly} || 0, ) ); + next if(!defined $cookie); # warn? push @cookies, $cookie->as_string; } @@ -727,7 +728,7 @@ not directly available via Catalyst objects $c->request, $c->engine ... BEWARE: If you really need to access some environment variable from your Catalyst application you should use $c->engine->env->{VARNAME} instead of $ENV{VARNAME}, -as in some enviroments the %ENV hash does not contain what you would expect. +as in some environments the %ENV hash does not contain what you would expect. =head1 AUTHORS