From f4ee95aec5780ea98c7f5adda3a87e512934e94e Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 4 May 2020 14:54:24 +0200 Subject: [PATCH] plugin id: limit to 'pve-configid' format Else one can pass almost arbitrary data as ID and break editing or deletion of a plugin. Signed-off-by: Thomas Lamprecht --- src/PVE/ACME/Challenge.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/ACME/Challenge.pm b/src/PVE/ACME/Challenge.pm index 0af77a3..0c679fc 100644 --- a/src/PVE/ACME/Challenge.pm +++ b/src/PVE/ACME/Challenge.pm @@ -13,6 +13,7 @@ my $defaultData = { id => { description => "ACME Plugin ID name", type => 'string', + format => 'pve-configid', }, type => { description => "ACME challenge type.",