]> git.proxmox.com Git - pmg-api.git/commit
improve pmg-email-address regex
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 18 Feb 2019 16:12:10 +0000 (17:12 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 19 Feb 2019 08:56:57 +0000 (09:56 +0100)
commit9eec07fb0c3624011522048e09715cebe851deff
tree81e24c1efb97bc7d30979aceb61c1f5cda43598e
parent76fb15c27cad27e78d6d3d40b1caef18b36402c9
improve pmg-email-address regex

the '|' is not necessary since the first option is empty (mitigated by
the minLength of 3) and add the '\' to forbidden characters since
they make problems with browser requests (browsers convert '\' to '/')

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