Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should trailing periods in the username portion of email addresses be valid? #9567

Closed
josepharhar opened this issue Jul 29, 2023 · 2 comments

Comments

@josepharhar
Copy link
Contributor

Should an email like this be considered valid? user.@example.com
This was raised here: https://bugs.chromium.org/p/chromium/issues/detail?id=1468257
I see that we have an EBNF and regex here, which I assume allows for trailing periods: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address
This is the rationale that the chrome bug reporter said:

See https://en.wikipedia.org/wiki/Email_address

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).[7]

Chrome, firefox, and safari all seem to allow these trailing periods.

@smaug----
Copy link

@josepharhar
Copy link
Contributor Author

Thanks! especially for that mailing list link, it looks like trailing periods were intentionally allowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants