]> git.proxmox.com Git - pve-manager.git/commit
Untaint the content of pve-replication-state.json.
authorWolfgang Link <w.link@proxmox.com>
Wed, 31 May 2017 12:03:34 +0000 (14:03 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 31 May 2017 12:35:52 +0000 (14:35 +0200)
commit6452af0da179de5857ac3b2fdea5caff8d30b135
tree93175351a751fdef60715bf926b33c973fe5148b
parent495aa710f277ff83fc44408bbd35accf9f05db4c
Untaint the content of pve-replication-state.json.

JSON::decode will not untaint the raw text, so we get problems with the
last_sync, which we use many times in the code with open3.
PVE/Replication.pm