Add correct secure flag to pdata cookie (#2272)
This commit is contained in:
parent
a96820d6f6
commit
9aa3b9b03f
|
@ -90,6 +90,7 @@ sub handler {
|
|||
if ( $sp or %{ $req->pdata } ) {
|
||||
my %v = (
|
||||
name => $self->conf->{cookieName} . 'pdata',
|
||||
secure => $self->conf->{securedCookie},
|
||||
(
|
||||
%{ $req->pdata }
|
||||
? ( value => uri_escape( JSON::to_json( $req->pdata ) ) )
|
||||
|
|
Loading…
Reference in New Issue
Block a user