diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-03-30 15:59:13 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-30 16:47:53 +0100 |
commit | af344b3c0b25713da49fdc1a66014ab8cc6deac9 (patch) | |
tree | d51e4aceaff10bf88f466289784f29f61ddac99c | |
parent | 57c1ba849c25b9397357f744df56895b250e7925 (diff) |
Typo.
-rw-r--r-- | perllib/Catalyst/Plugin/Session/State/Cookie.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Catalyst/Plugin/Session/State/Cookie.pm b/perllib/Catalyst/Plugin/Session/State/Cookie.pm index c56206774..e0a651ed9 100644 --- a/perllib/Catalyst/Plugin/Session/State/Cookie.pm +++ b/perllib/Catalyst/Plugin/Session/State/Cookie.pm @@ -52,7 +52,7 @@ sub cookie_is_rejecting { # Don't output cookie for JS or JPEG files. mySociety addition return 1 if substr($c->request->path, -3) eq '.js' - || substr($c->request->Path, -5) eq '.jpeg'; + || substr($c->request->path, -5) eq '.jpeg'; if ( $cookie->{path} ) { return 1 if index '/'.$c->request->path, $cookie->{path}; |