From: Alexandre Derumier Date: Fri, 5 Nov 2021 08:06:45 +0000 (+0100) Subject: vnets: alias: fix regex X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=96b298d52018e74ce7ee27b7d1019a6036f56317;p=matthieu%2Fpve-network.git vnets: alias: fix regex --- 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, },