* added syncfs syscall and sync_mountpoint helper
+ * Applying: schema: disable additional properties in property strings
+
-- Proxmox Support Team <support@proxmox.com> Thu, 11 Feb 2016 11:24:34 +0100
libpve-common-perl (4.0-47) unstable; urgency=medium
};
sub parse_property_string {
- my ($format, $data, $path) = @_;
+ my ($format, $data, $path, $additional_properties) = @_;
+
+ # In property strings we default to not allowing additional properties
+ $additional_properties = 0 if !defined($additional_properties);
my $default_key;
}
my $errors = {};
- check_object($path, $format, $res, undef, $errors);
+ check_object($path, $format, $res, $additional_properties, $errors);
if (scalar(%$errors)) {
raise "format error\n", errors => $errors;
}