Orcpub / orcpub

Code for Dungeon Master's Vault Community Edition
https://www.dungeonmastersvault.com/
Eclipse Public License 2.0
211 stars 106 forks source link

[Bug] Email address validator doesn't comply with new TLD #503

Closed datdamnzotz closed 3 years ago

datdamnzotz commented 3 years ago

Describe the bug Domains like example@my.americanfamily show up as invalid with the current regex found here. https://github.com/Orcpub/orcpub/blob/develop/src/cljc/orcpub/registration.cljc#L35

RFC1034 says they can be up to 63 characters

Each node has a label, which is zero to 63 octets in length. https://tools.ietf.org/html/rfc1034