Revert "Concatenate pdata and lemon cookies in the same set-cookie header (#1863)"

This reverts commit c3a01c042c
This commit is contained in:
Christophe Maudoux 2019-08-13 10:16:31 +02:00
parent c3a01c042c
commit 7502e424e3

View File

@ -83,10 +83,7 @@ sub handler {
: ()
),
);
my %headers = @{ $res->[1] };
$headers{'Set-Cookie'} = $self->cookie(%v) . ',' . $headers{'Set-Cookie'};
$headers{'Set-Cookie'} =~ s/,$//r;
@{ $res->[1] } = %headers;
push @{ $res->[1] }, 'Set-Cookie', $self->cookie(%v);
}
return $res;
}