Add correct secure flag to pdata cookie (#2272)
This commit is contained in:
parent
a96820d6f6
commit
9aa3b9b03f
|
@ -89,7 +89,8 @@ sub handler {
|
|||
# Save pdata
|
||||
if ( $sp or %{ $req->pdata } ) {
|
||||
my %v = (
|
||||
name => $self->conf->{cookieName} . 'pdata',
|
||||
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