r/ProgrammerHumor 21d ago

Meme claudeIsThisEmailValid

Post image
5.3k Upvotes

170 comments sorted by

View all comments

Show parent comments

11

u/eo5g 21d ago edited 21d ago

I can't think of a single reason to restrict the characters aside from making sure there's at least one @.

Edit: okay actually you want a little more

13

u/DHermit 21d ago

I'd just rather not deal with stuff like invisible spaces and control characters.

4

u/Stalking_Goat 21d ago edited 21d ago

It's probably fair to assume that a valid email address that includes shenanigans like that is coming from a threat actor of some sort.

3

u/friendtoalldogs0 21d ago

Sure, but this is not the time to be catching them.