erikras / erikras/react-redux-universal-hot-example
Email address validation is broken
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
On the [survey](https://react-redux.herokuapp.com/survey), the email address validation seems to be overly restrictive about what characters are allowed in the local part. Simultaneously, it is overly lax about the "." character.
Some examples that are syntactically invalid but pass validation:
- .@example.com
- fred.@example.com
- .fred@example.com
Some examples that are syntactically valid but fail validation:
- !@example.com
- *@example.com
- $@example.com
See [RFC 5322](https://tools.ietf.org/html/rfc5322) for full details on email address syntax.
Sorry, I don't mean to nitpick, but this seems to be intended as an exemplary app and email address validation is a common thing to want to do.
Contributor guide
Assessment
This issue has not been assessed yet.