开发者

why are special character not alloed in email address

开发者 https://www.devze.com 2023-02-16 15:08 出处:网络
I was just curious about why only a few special character are not allowed in email address. Except a few special character like \".\", \"_\" etc most of special character characters bot allow开发者_St

I was just curious about why only a few special character are not allowed in email address. Except a few special character like ".", "_" etc most of special character characters bot allow开发者_StackOverflowed. is this a technology constraint or just a convention without any reason ?


It's a blatant falsity that is unjustly imposed by overzealous email regexps.

Almost all characters can be used in email addresses.
"abc def+ghi/jkl@mno*pqr"@localhost is a valid email address.

Even without quoting, !#$%&'*+-/=?^_`{|}~@hi is valid.


Check RFC-2822 for details on the specification of internet email addresses.

0

精彩评论

暂无评论...
验证码 换一张
取 消