Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



No 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


These 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...


what.


Guess I'm in today 10000 who learned something today.


I 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?


They're referring to this: https://xkcd.com/1053/


Good catch, forgot about that one!


Now it makes sense.

Thank you!


I think he meant: "I guess I'm among the 10000 who learned something today".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: