3 ms·
True. thats a different use case. I may would except you (the form or whatever) to translate my inputs to punycode. I live in a german/french country special c
by herbst 10y ago
True. thats a different use case.
I may would except you (the form or whatever) to translate my inputs to punycode. I live in a german/french country special chars in domains are not exactly unusual, but i avoid them for myself because i've encountered so many sites that simply ignore there existence.
- greengobble 10y agoI guess, that's the whole point of the blogpost: when you try to validate email addresses with a regex, you are screwed with unicode domains. It is not clear if you should let them pass, only let them pass if they are properly encoded or not let them pass at all (as the software behind the validator is clueless about them either way). Building the DFA yourself gives you more control.