Commit 238db0d2 authored by Dietmar Maurer's avatar Dietmar Maurer

correctly encode PVEAuthCookie

parent 697f0611
......@@ -39,7 +39,8 @@ sub extract_auth_cookie {
sub create_auth_cookie {
my ($ticket) = @_;
return "${cookie_name}=$ticket; path=/; secure;";
my $encticket = uri_escape($ticket);
return "${cookie_name}=$encticket; path=/; secure;";
}
sub format_response_data {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment