mirror of
				https://git.proxmox.com/git/qemu-server
				synced 2025-11-04 06:50:31 +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);
 | 
			
		||||
 | 
			
		||||
	# limit ticket length to 59 charachters
 | 
			
		||||
	$ticket = substr($ticket, 0, 59);
 | 
			
		||||
 | 
			
		||||
	my $timeout = 10;
 | 
			
		||||
 | 
			
		||||
	# Note: this only works if VM is on local node
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user