114
top 11 comments
sorted by: hot top controversial new old
[-] BestBouclettes@jlai.lu 26 points 4 months ago

Pretty funny considering the @ is pretty much the only character that's absolutely necessary in an email address

[-] mercano@lemmy.world 10 points 4 months ago

You need at least one dot between the @ and the last character. You used to be able to say that you needed a . as either the third or fourth character from the end, but now that we have TLDs that aren’t two or three characters, you can’t be that specific.

[-] BestBouclettes@jlai.lu 28 points 4 months ago

I believe that according to the RFC you can send mail to @localhost, the period is not strictly necessary

[-] mercano@lemmy.world 7 points 4 months ago

You are technically correct. (The very best kind of correct.)

[-] purplemonkeymad@programming.dev 9 points 4 months ago

What about ip6 address as a host? They don't use dots. You can also specify a ip4 address as just a single number. Also there is a tld with an Mx record, which would mean there is no dots either. Best to just check for one or more characters before and after the at sign, then send an email to verify.

[-] Anticorp@lemmy.world 8 points 4 months ago

Please go create a new email address and only choose the characters that I could think of while writing regex.

[-] BestBouclettes@jlai.lu 1 points 4 months ago

Well you can find the regexp to validate email here !

[-] some_guy 4 points 4 months ago

Who says it’s bad design? Maybe they hate receiving feedback. Seems like pretty great design through that lens.

[-] Kusimulkku@lemm.ee 1 points 4 months ago

"Your email field doesn't work."

"Oh. That's too bad. You should make a bug report."

*you need an account to make a bug report*

*you need an email address to make an account*

*it's the same email field*

[-] Tolstoshev@lemmy.world 2 points 4 months ago

Back in my day we used bang paths and we liked it!

[-] Anticorp@lemmy.world 1 points 4 months ago

blur, change are the only appropriate listeners for input validation.

this post was submitted on 26 Mar 2024
114 points (96.7% liked)

Bad Design

80 readers
1 users here now

For sharing any badly designed websites or applications you come across. Please only post things that are connected to programming.dev topics (e.g. dont post something badly designed in real life)

For intentionally bad design also check out !bad_ui_battles@programming.dev

For bad code check out !programming_horror@programming.dev

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 6 months ago
MODERATORS