Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-480

Email Validator should not allow the local part to start or end with a dot

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Routines
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joe.knudsen@gmail.com Joe Knudsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: