Skip to content

Commit

Permalink
fixup! fix hash ordering bug in what I think is CGI::Cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Nov 14, 2013
1 parent 743108a commit 4364f00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/CGI/Application/Plugin/Session.pm
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ sub session_delete {
$options{'value'} = '';
$options{'-expires'} = '-1d';
my $newcookie = $self->query->cookie(
map {; $_ => $options{$_} } sort keys %options
$^V ge v5.17.3
? (\%options)
: (%options)
);

# See if a session cookie has already been set (this will happen if
Expand Down

0 comments on commit 4364f00

Please sign in to comment.