mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-30 22:19:10 +00:00
limit spice ticket length to 59 charachters
This commit is contained in:
parent
288eeea8ae
commit
5ecf258f2c
@ -1371,6 +1371,9 @@ __PACKAGE__->register_method({
|
|||||||
|
|
||||||
my $ticket = PVE::AccessControl::assemble_spice_ticket($authuser, $authpath);
|
my $ticket = PVE::AccessControl::assemble_spice_ticket($authuser, $authpath);
|
||||||
|
|
||||||
|
# limit ticket length to 59 charachters
|
||||||
|
$ticket = substr($ticket, 0, 59);
|
||||||
|
|
||||||
my $timeout = 10;
|
my $timeout = 10;
|
||||||
|
|
||||||
# Note: this only works if VM is on local node
|
# Note: this only works if VM is on local node
|
||||||
|
Loading…
Reference in New Issue
Block a user