diff options
| author | Matthew Somerville <matthew@mysociety.org> | 2012-03-30 15:59:13 +0100 |
|---|---|---|
| committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-30 15:59:13 +0100 |
| commit | 9e2b71aedd208a2c378ca411388d5f750f0e9fc7 (patch) | |
| tree | 0b72e1dc7eaa601c773485380836a545306e012f /perllib/Catalyst/Plugin | |
| parent | a5e2b362053106810d5e0361277f0cb9e980ceb0 (diff) | |
Typo.
Diffstat (limited to 'perllib/Catalyst/Plugin')
| -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}; |
