Subj : emailval.js accepts incomplete email addresses
To : echicken
From : Codefenix
Date : Sun Sep 01 2024 09:51 am
Re: emailval.js accepts incomplete email addresses
By: echicken to Codefenix on Sat Aug 31 2024 09:05 pm
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?
No, not quite. I must not have made it very clear in my initial post. The reason why I would want to "pre-validate" an email address is because someone entered an incomplete one on my system (user@gmail), and it broke the script because the script (incorrectly) treated the entry as though it were a QWKmail address. This let the user skip validation and proceed to main, when it should have screened them out instead.
|01<|09co|03d|11e|15�|11e|03n|09ix|01>|07
...If you can't see the bright side, polish the dull side.
---
� Synchronet � -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-