]> git.proxmox.com Git - pmg-api.git/commitdiff
remove regex for matchfield
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 12 Jan 2018 09:51:53 +0000 (10:51 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 12 Jan 2018 10:30:14 +0000 (11:30 +0100)
the regex could include other characters (umlauts, special characters,
spaces, etc.), so do not limit it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PMG/RuleDB/MatchField.pm

index e0980bd7286f0a415ddab0eda3f965ac2865bd26..b1da4fa9c0a699a5d8066109c5252bb625648a94 100644 (file)
@@ -147,7 +147,6 @@ sub properties {
        value => {
            description => "The Value",
            type => 'string',
-           pattern => '[0-9a-zA-Z\/\\\[\]\+\-\.\*\_]+',
            maxLength => 1024,
        },
     };