From 96b298d52018e74ce7ee27b7d1019a6036f56317 Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Fri, 5 Nov 2021 09:06:45 +0100 Subject: [PATCH] vnets: alias: fix regex --- PVE/Network/SDN/VnetPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Network/SDN/VnetPlugin.pm b/PVE/Network/SDN/VnetPlugin.pm index 121fb7f..062904c 100644 --- a/PVE/Network/SDN/VnetPlugin.pm +++ b/PVE/Network/SDN/VnetPlugin.pm @@ -68,7 +68,7 @@ sub properties { alias => { type => 'string', description => "alias name of the vnet", - pattern => qr/[a-z0-9\._\-\+\s]{1,256}/i, + pattern => qr/[\(\)-_.\w\d\s]{0,256}/i, maxLength => 256, optional => 1, }, -- 2.39.5