]> git.proxmox.com Git - pmg-api.git/blobdiff - src/PMG/Utils.pm
utils: allow '/' inside email address localpart
[pmg-api.git] / src / PMG / Utils.pm
index 149bcdc75ce423ee0df0285268ede8aa4037b303..4341dbd16837c9c1b9f733f881b4717469318c04 100644 (file)
@@ -117,7 +117,7 @@ PVE::JSONSchema::register_standard_option('username', {
 PVE::JSONSchema::register_standard_option('pmg-email-address', {
     description => "Email Address (allow most characters).",
     type => 'string',
-    pattern => '(?:[^\s\/\\\@]+\@[^\s\/\\\@]+)',
+    pattern => '(?:[^\s\\\@]+\@[^\s\/\\\@]+)',
     maxLength => 512,
     minLength => 3,
 });