开发者

why are special character not alloed in email address

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜