projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
model view controller methods in Catalyst::IOC
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine.pm
diff --git
a/lib/Catalyst/Engine.pm
b/lib/Catalyst/Engine.pm
index
84c75e9
..
b34ceec
100644
(file)
--- a/
lib/Catalyst/Engine.pm
+++ b/
lib/Catalyst/Engine.pm
@@
-128,6
+128,11
@@
sub finalize_cookies {
-httponly => $val->{httponly} || 0,
)
);
+ if (!defined $cookie) {
+ $c->log->warn("undef passed in '$name' cookie value - not setting cookie")
+ if $c->debug;
+ next;
+ }
push @cookies, $cookie->as_string;
}