mirror of
https://git.proxmox.com/git/proxmox-acme
synced 2025-04-30 12:21:58 +00:00
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 <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2a656f9a39
commit
f4ee95aec5
@ -13,6 +13,7 @@ my $defaultData = {
|
|||||||
id => {
|
id => {
|
||||||
description => "ACME Plugin ID name",
|
description => "ACME Plugin ID name",
|
||||||
type => 'string',
|
type => 'string',
|
||||||
|
format => 'pve-configid',
|
||||||
},
|
},
|
||||||
type => {
|
type => {
|
||||||
description => "ACME challenge type.",
|
description => "ACME challenge type.",
|
||||||
|
Loading…
Reference in New Issue
Block a user