Skip to content

Commit

Permalink
Fix for silly cookie jar paths. closes #291.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusramberg committed Feb 21, 2012
1 parent c8fce49 commit 9ff013d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/CookieJar.pm
Expand Up @@ -82,7 +82,7 @@ sub find {
Mojo::Cookie::Request->new(
name => $cookie->name,
value => $cookie->value
) if $path =~ /^$cpath/;
) if $path =~ /^\Q$cpath/;
}

$self->{jar}->{$domain} = \@new;
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/cookiejar.t
@@ -1,6 +1,6 @@
use Mojo::Base -strict;

use Test::More tests => 83;
use Test::More tests => 84;

# "Hello, my name is Mr. Burns. I believe you have a letter for me.
# Okay Mr. Burns, what’s your first name.
Expand Down

0 comments on commit 9ff013d

Please sign in to comment.