You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Joe Knudsen (Jira)" <ji...@apache.org> on 2021/07/06 15:35:00 UTC
[jira] [Commented] (VALIDATOR-480) Email Validator should not allow
the local part to start or end with a dot
[ https://issues.apache.org/jira/browse/VALIDATOR-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17375807#comment-17375807 ]
Joe Knudsen commented on VALIDATOR-480:
---------------------------------------
Not a problem. My mistake please delete.
> Email Validator should not allow the local part to start or end with a dot
> --------------------------------------------------------------------------
>
> Key: VALIDATOR-480
> URL: https://issues.apache.org/jira/browse/VALIDATOR-480
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.7
> Reporter: Joe Knudsen
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)