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
|
# Save pdata
|
||||||
if ( $sp or %{ $req->pdata } ) {
|
if ( $sp or %{ $req->pdata } ) {
|
||||||
my %v = (
|
my %v = (
|
||||||
name => $self->conf->{cookieName} . 'pdata',
|
name => $self->conf->{cookieName} . 'pdata',
|
||||||
|
secure => $self->conf->{securedCookie},
|
||||||
(
|
(
|
||||||
%{ $req->pdata }
|
%{ $req->pdata }
|
||||||
? ( value => uri_escape( JSON::to_json( $req->pdata ) ) )
|
? ( value => uri_escape( JSON::to_json( $req->pdata ) ) )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user