Re:Should random() be banned?
by nicoburns on Thursday February 11, 2021 @06:37PM
(#26109003)
Neither does React's dangerouslySetInnerHTML. What both of these do is mark a potentially dangerous operation with an in-your-face warning message that you have to go out of your way to ignore. Which in practice is very useful, as often the biggest problem with security issues is not know what you don't know. It's impractical to review the entire codebase on a regular basis, and it can be hard to know which bits to focus on.
[ Parent
| on HN ]
There are no comments on this comment yet.