mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 20:12:15 +00:00
spiceproxy: use POST instead of GET
using GET is a security risk (no CSRF checks)
This commit is contained in:
parent
787dec6ef2
commit
78252ce7d0
@ -1348,9 +1348,9 @@ __PACKAGE__->register_method({
|
||||
__PACKAGE__->register_method({
|
||||
name => 'spiceproxy',
|
||||
path => '{vmid}/spiceproxy',
|
||||
method => 'GET',
|
||||
method => 'POST',
|
||||
protected => 1,
|
||||
proxyto => 'node', # fixme: use direct connections or ssh tunnel?
|
||||
proxyto => 'node',
|
||||
permissions => {
|
||||
check => ['perm', '/vms/{vmid}', [ 'VM.Console' ]],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user