Skip to content

Commit 576f4bf

Browse files
pludlamCVLoalders
authored andcommitted
Fixes Long number not separated with underscores reported by Kritika
1 parent c373ec3 commit 576f4bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/HTTP/Cookies/Microsoft.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ sub load
224224

225225
# set the delayload cookie for this domain with
226226
# the cookie_file as cookie for later-loading info
227-
$self->set_cookie(undef, 'cookie', $cookie_file, '//+delayload', $domain, undef, 0, 0, $now+86400, 0);
227+
$self->set_cookie(undef, 'cookie', $cookie_file, '//+delayload', $domain, undef, 0, 0, $now+86_400, 0);
228228
}
229229
}
230230
}

t/10-original_spec.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use HTTP::Request ();
1111
use HTTP::Response ();
1212
use URI ();
1313

14-
my $expiry_string = HTTP::Date::time2str( time + 86400 );
14+
my $expiry_string = HTTP::Date::time2str( time + 86_400 );
1515
my $jar = HTTP::Cookies->new();
1616

1717
plan tests => 20;

t/publicsuffix.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use HTTP::Request ();
1111
use HTTP::Response ();
1212

1313

14-
my $expiry_string = HTTP::Date::time2str( time + 86400 );
14+
my $expiry_string = HTTP::Date::time2str( time + 86_400 );
1515
my $jar = HTTP::Cookies->new;
1616

1717
{

0 commit comments

Comments
 (0)