News for hackers. Stuff that matters.
Re:Falsehoods Programmers Believe About Names (2010) by jacobobryant on Saturday November 09, 2019 @07:25PM (#21495535)
My favorite instance of this was Mailgun, who html encoded the apostrophe, and then html encoded the resulting text.

O'Bryant -> O'Bryant -> O'Bryant (screenshot: https://twitter.com/obryant666/status/1163638029212250112/ph...)

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.
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.
Re:Falsehoods Programmers Believe About Names (2010) by daphneokeefe on Saturday November 09, 2019 @07:39PM (#21495590)
Apostrophed person here. This happens SO often.