From ca8c865871a2ed1cd4c4158fa99f7b23607066dd Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Wed, 21 Jul 2021 14:52:07 +0200 Subject: [PATCH] status: add max length and disclaimer to file upload's filename Signed-off-by: Lorenz Stechauner --- PVE/API2/Storage/Status.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index 1d87304..16581aa 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -381,7 +381,8 @@ __PACKAGE__->register_method ({ enum => ['iso', 'vztmpl'], }, filename => { - description => "The name of the file to create.", + description => "The name of the file to create. Caution: This will be normalized!", + maxLength => 255, type => 'string', }, tmpfilename => {