]> git.proxmox.com Git - pve-common.git/commitdiff
fix #2111: regex match for email addresses
authorOguz Bektas <o.bektas@proxmox.com>
Thu, 28 Feb 2019 14:00:04 +0000 (15:00 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Mar 2019 09:36:50 +0000 (10:36 +0100)
now allows:
* addresses without tld (f.e. user@localhost per bug)
* remove limits for number of subdomains
* allow +, -, ~ in local part
* disallow double dots (.. .a. etc) and dots in the end (abc.@mail.com)

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Dominik Csapak <d.csapak@proxmox.com>

No differences found