3 ms·
Mr. dot is evil is the first thing we taught new engineers at Facebook during the security engineering on boarding. There’s a whole slide deck (filled with rea
by amenghra 7y ago
Mr. dot is evil is the first thing we taught new engineers at Facebook during the security engineering on boarding.
There’s a whole slide deck (filled with real code snippets) with examples where a string was used instead of a better suited object representation and lead to a security flaw.
We eventually build xhp/jsx to get rid of strings-holding-html data, but that was just scratching the surface of bugs caused by user-supplied strings.
- lookdangerous 7y agoMr. Dot as in the php stir concatenation operator?
- paulddraper 7y agoThat's my guess as well. Speaking of "evil" broken abstractions...