mirror of
git://git.proxmox.com/git/pve-guest-common.git
synced 2025-01-08 21:17:52 +03:00
fix deprecated unescaped left brace in regex
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
eb50bb6141
commit
b3b0025bd6
@ -36,7 +36,7 @@ sub read_state {
|
||||
return {} if $raw eq '';
|
||||
|
||||
# untaint $raw
|
||||
if ($raw =~ m/^({.*})$/) {
|
||||
if ($raw =~ m/^(\{.*\})$/) {
|
||||
return decode_json($1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user