skip setting cookies that can't be created successfully
authorBrian Phillips <bphillips@digitalriver.com>
Mon, 28 Feb 2011 19:24:35 +0000 (13:24 -0600)
committerTomas Doran <bobtfish@bobtfish.net>
Fri, 15 Jul 2011 08:48:20 +0000 (09:48 +0100)
commitdb9407301b748638a6f3b72d459bf7cc74162468
tree9d78f1bb19842d8ee66b7be70c3bb3c9d095b769
parent38a55e0cf0b70133b1a8369c04e3bc0ee444c4b7
skip setting cookies that can't be created successfully

CGI::Simple::Cookie will return undef if either the -name
or -value values are undefined.  We need to check and see if
$cookie is defined before calling ->as_string
lib/Catalyst/Engine.pm
t/aggregate/live_engine_response_cookies.t
t/lib/TestApp/Controller/Engine/Response/Cookies.pm