Skip to content

Commit

Permalink
fix typo in public suffix example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 9, 2015
1 parent fd5137b commit 730b00b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.19 2015-09-09
6.19 2015-09-10
- Added code of conduct to Mojolicious::Guides::Contributing.
- Added ignore attribute to Mojo::UserAgent::CookieJar.

Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/UserAgent.pm
Expand Up @@ -515,7 +515,7 @@ L<Mojo::UserAgent::CookieJar> object.
# Ignore cookies for public suffixes
my $ps = IO::Socket::SSL::PublicSuffix->default;
$ua->cookie_jar(sub {
$ua->cookie_jar->ignore(sub {
my $cookie = shift;
return $ps->public_suffix($cookie->domain) eq $cookie->domain;
});
Expand Down

0 comments on commit 730b00b

Please sign in to comment.