mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-13 17:45:15 +00:00
doc: spice-example-sh: support special characters in passwords
This commit is contained in:
parent
52a450d619
commit
765bba6ca6
@ -59,7 +59,7 @@ fi
|
|||||||
|
|
||||||
NODE="${NODE%%\.*}"
|
NODE="${NODE%%\.*}"
|
||||||
|
|
||||||
DATA="$(curl -f -s -S -k -d "username=$USERNAME&password=$PASSWORD" "https://$PROXY:8006/api2/json/access/ticket")"
|
DATA="$(curl -f -s -S -k --data-urlencode "username=$USERNAME" --data-urlencode "password=$PASSWORD" "https://$PROXY:8006/api2/json/access/ticket")"
|
||||||
|
|
||||||
echo "AUTH OK"
|
echo "AUTH OK"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user