5 ms·
Email addresses allow comments? Who the heck thought that was a smart idea!? I guess this is what you're referring to: James Doe <jdoe@a.com> The email - whic
by Cyph0n 10y ago
Email addresses allow comments? Who the heck thought that was a smart idea!?
I guess this is what you're referring to: James Doe <jdoe@a.com>
The email - which is inside the <> - should be parsed correctly, while the rest should be treated as a "comment" [1].
[1]: https://www.cs.tut.fi/~jkorpela/rfc/822addr.html https://www.cs.tut.fi/~jkorpela/rfc/822addr.html
- 77pt77 10y agoNo No. Stuff like: * comments are allowed with parentheses at either end of the local-part; e.g. john.smith(comment)@example.com and (comment)john.smith@example.com are both equivalent to john.smith@example.com. [1] * Also have a look at quotes [1]https://en.wikipedia.org/wiki/Email_address#Local-part https://en.wikipedia.org/wiki/Email_address#Local-part
- Cyph0n 10y agowhat.
- erelde 10y agoGuess I'm in today 10000 who learned something today.
- 77pt77 10y agoI can't understand this sentence. At first I thought you were a bot. Then that your English was not very good. Looking at your history clearly both are false. What did you mean?
- Cyph0n 10y agoI think he meant: "I guess I'm among the 10000 who learned something today".
- strictnein 10y agoThey're referring to this: https://xkcd.com/1053/ https://xkcd.com/1053/
- 77pt77 10y agoThese are all valid email addresses! * "Abc\@def"@example.com * "Fred Bloggs"@example.com * "Joe\\Blow"@example.com * "Abc@def"@example.com * customer/department=shipping@example.com * $A12345@example.com * !def!xyz%abc@example.com * _somename@example.com http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx/ http://haacked.com/archive/2007/08/21/i-knew-how-to-validate...