11 ms·
Well, a "normal" user probably wouldn't have an email address with one of those TLDs, for what it's worth.
by FroshKiller 5y ago
Well, a "normal" user probably wouldn't have an email address with one of those TLDs, for what it's worth.
- dewey 5y agoI can't use my ".me" email domain on Facebook. That's a regular country domain that could be from a "normal" user.
- FroshKiller 5y agoYour email would probably be valid according to the pattern in the screenshot, which expects a TLD between two and four characters. Not sure what Facebook has to do with it, but your address is probably "normal" to Sony.
- dewey 5y agoMy point is mostly that email validation is broken in a lot of places even if it's not a "weird" ending.
- eimrine 5y agoBut a normal developer still can allow users to have email on TLD with more than 4 letters anyway. Thank's God a webpage unless an app does not forbid to look at the code full of fancy regexps. It reminds me a situation when I could not register a bank account and nobody could help me, even the official support. There was (maybe even still is) an issue when the webpage tells me that my password must contain 4 digits but it did not tell that that digits must be in one chunk (abcd1234 or a1234bcd but not a1b234cd). Several friends of mine had to show me their passwords until I realized that their digits are not sparse.
- Avamander 5y agoYou shouldn't check for a specific list of TLD's, you're going to get it wrong.
- FroshKiller 5y agoThe validator in the screenshot doesn't check for a specific list. The examples .pizza and .website would not validate because the pattern expects a TLD between two and four characters long.