storj.io icon indicating copy to clipboard operation
storj.io copied to clipboard

Validation missing for Subscribing to Newsletter.

Open nerdatwork opened this issue 5 years ago • 3 comments

Email address aren't validated hence don't give out any error message for entering invalid email address.

email subscription not validated

nerdatwork avatar Feb 14 '20 17:02 nerdatwork

Per email standards this could be a valid email address - however very unlikely. The main reason this is not a valid email is that "fake" is not a valid TLD. An address "a@com", however could be a valid email.

egonelbre avatar Feb 16 '20 10:02 egonelbre

Can you please give me a link to these email standards

nerdatwork avatar Feb 16 '20 11:02 nerdatwork

https://serverfault.com/a/155484

The main RFC-s are:

  • http://tools.ietf.org/html/rfc5322
  • http://tools.ietf.org/html/rfc1035

The full list of them are here https://en.wikipedia.org/wiki/Email_address#Standards_documents. The wikipedia page also contains examples with a single TLD.

egonelbre avatar Feb 16 '20 11:02 egonelbre