Subj : emailval.js accepts incomplete email addresses
To   : echicken
From : Nightfox
Date : Sat Aug 31 2024 07:26 pm

 Re: emailval.js accepts incomplete email addresses
 By: echicken to Codefenix on Sat Aug 31 2024 09:05 pm

Co>> if (user.netmail.indexOf(".") < 0 && user.netmail.indexOf("@") < 0) {

ec> If you *really* want to check if an email address is valid, then there's a
ec> whole rabbit hole of standards and regex fun you can go down.

ec> I have to wonder why/if this is even necessary in the context of email
ec> validation. If the email address is fucked, then the user will not get
ec> validated. If they want to gain access, they'll need to supply a working
ec> address. Sort of a self-solving problem right?

I imagine it could probably tell the user the email address they entered is invalid and give the user another chance to re-enter their email address.

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com