aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-30 15:59:13 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-03-30 15:59:13 +0100
commit9e2b71aedd208a2c378ca411388d5f750f0e9fc7 (patch)
tree0b72e1dc7eaa601c773485380836a545306e012f
parenta5e2b362053106810d5e0361277f0cb9e980ceb0 (diff)
Typo.
-rw-r--r--perllib/Catalyst/Plugin/Session/State/Cookie.pm2
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};