Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.7
-
None
-
None
Description
Email Validator should not allow local part (user part) to start or end with a dot also dots. Also a double dot is not allowed.
Copied from Email Address wiki:
dot ., provided that it is not the first or last character and provided also that it does not appear consecutively (e.g., John..Doe@example.com is not allowed).
Below is from rfc3696:
Without quotes, local-parts may consist of any combination of
alphabetic characters, digits, or any of the special characters
! # $ % & ' * + - / = ? ^ _ ` . { | } ~
period (".") may also appear, but may not be used to start or end the
local part, nor may two or more consecutive periods appear. Stated
differently, any ASCII graphic (printing) character other than the
at-sign ("@"), backslash, double quote, comma, or square brackets may
appear without quoting. If any of that list of excluded characters
are to appear, they must be quoted.