I wish all website creators a very please stop writing your own email validation
-
I wish all website creators a very please stop writing your own email validation
Did you know top level domains can be longer than three characters? No?
wait are you even listening no please stop typing isMobileNumberValid someone else who actually knows what they're doing has already made that no please have mer
-
Laxystem (Masto/Glitch)replied to Helena last edited by
@helenaisvibing I mean, would you rather them use HTML5's? The thing's way too strict.
-
Laxystem (Masto/Glitch)replied to Laxystem (Masto/Glitch) last edited by [email protected]
@helenaisvibing my solution to this is simply, well, not validating (beyond contains an `@`, then a dot) -- if I can send an email there, and get a verification number from it, that email address is most likely real.
-
Helenareplied to Laxystem (Masto/Glitch) last edited by
@laxla yea ngl I'd accept literally any approach that isn't "hurhur I'm pretty sure I know how emails work, and I've never seen one that's longer than X characters or with a tld longer than Y or that uses character Z, so those must all be Rules, let me go ahead and make sure we reject those" because I've seen far too many forms break because of silly things like that
-
Laxystem (Masto/Glitch)replied to Helena last edited by
@helenaisvibing yeah, my full name's very common in Germany, so it's impossible for me to get any proper email address (at Gmail.com) without more than one dot. Problem is, ALMOST NO WEBSITE ON THE FREAKING WEB ACCEPTS MORE THAN A SINGLE DOT BECAUSE HTML5 JUST DECIDED IT'S ILLEGAL KR WHATEVER AHHHHHH
(I'm extremely annoyed about this; I've opened WAY too many Gmail accounts)
-
Laxystem (Masto/Glitch)replied to Laxystem (Masto/Glitch) last edited by
@helenaisvibing tbf the problem is most likely having a section with only numbers in it. But I don't have a middle name, and I'm not gonna put different elements with no dots between them, so guess I'mma just have to buy a domain.
-
Helenareplied to Laxystem (Masto/Glitch) last edited by
@laxla wait you mean some of these obvious false negatives on perfectly valid email addresses come from a "standard" rather than random rogue web devs? That's even more horrifying
-
Laxystem (Masto/Glitch)replied to Helena last edited by
@helenaisvibing yup.
-
Laxystem (Masto/Glitch)replied to Laxystem (Masto/Glitch) last edited by
@helenaisvibing HTML6 better not be HTML