status: add max length and disclaimer to file upload's filename
Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
1e96ffc954
commit
ca8c865871
@ -381,7 +381,8 @@ __PACKAGE__->register_method ({
|
|||||||
enum => ['iso', 'vztmpl'],
|
enum => ['iso', 'vztmpl'],
|
||||||
},
|
},
|
||||||
filename => {
|
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',
|
type => 'string',
|
||||||
},
|
},
|
||||||
tmpfilename => {
|
tmpfilename => {
|
||||||
|
|||||||
Reference in New Issue
Block a user