Re:Falsehoods Programmers Believe About Names (2010)
by fanf2 on Saturday November 09, 2019 @08:14PM
(#21495707)
Deep sigh: ' is not a special character in email addresses or headers so it can support names like yours without special effort.
[ Parent
| on HN ]
Re:Falsehoods Programmers Believe About Names (2010)
by sneak on Sunday November 10, 2019 @04:27AM
(#21497242)
I think a lot of those writing software just escape [^a-zA-Z0-9-_\.] or similar just to be overly cautious. I've definitely been guilty of this myself when I'm in a rush.
I'm also the person who gets irrationally annoyed at web forms that barf at my [email protected] email address usage (+ signs being valid in the username part), so I can certainly relate to the ire, too.
Re:Falsehoods Programmers Believe About Names (2010)
by XCabbage on Sunday November 10, 2019 @07:54AM
(#21497781)
It's a special character in HTML, which is the context in which the name is being shown. The fact that it's escaped before being concatenated into the HTML document is fine; the fact that it's triple-escaped is the problem.