]> git.proxmox.com Git - pve-common.git/commit
assemble_spice_ticket: ensure variable in interpolated string are correct
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 May 2019 10:52:18 +0000 (12:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 May 2019 10:52:22 +0000 (12:52 +0200)
commitffbc3c08b8522f36beebdce3c0c3fba0bab743f1
tree5041b1ae522937374612ea48c9c54f914c06e625
parent4d7b1156cce8fb1e22a153c348f021ea4c9f1740
assemble_spice_ticket: ensure variable in interpolated string are correct

In older perl the following two where the same:

"$foo::$bar" == "${foo}::${bar}"

But in perl 5, version 28 it's not anymore,

"$foo::$bar" would be equivalent to "${foo::}${bar}", the double
colons are now not used as variable name boundary, so mark that
explicitly in the affected case and surrounding ones preventively

This fixes authentication with spice* related stuff again.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Ticket.pm