you are viewing a single comment's thread
view the rest of the comments
[–] 24 points 1 year ago (2 children)

The main one that gets passed around will match the weirdness fine. In fact, it probably matches things you don't want, anyway.

A signin/registration form really only needs to do sanity checks to get rid of obviously bad addresses. You'll have to send a round-trip email confirmation message to make sure the email is real, anyway, so why bother going into great detail? Just check that there's an '@' symbol and a dot in the domain. Most of the rest is wanking off.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 11 points 1 year ago (1 child)

    A domaine without tld (me@home) is a valide address. I saw an email server being used as a mqtt-like server this way (it is very old and predate those software).

  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 1 year ago

    An address without a domain is irrelevant for a signin/registration form. Which is like 90% of the code being written in the wild to validate addresses.

    If you're writing an email server, then you need to care about all these details. Most of us never will.

  • source
  • parent