Re:Don’t try to sanitize input, escape output (2020)
by ipaddr on Thursday January 13, 2022 @11:50AM
(#29923031)
Instead of sanitizing input you create unsafe datastore which might be used in other applications later. Do it as soon as possible.
[ Parent
| on HN ]
Re:Don’t try to sanitize input, escape output (2020)
by frontiersummit on Thursday January 13, 2022 @12:48PM
(#29923972)
I think it cuts both ways, as anyone who has needed to mine an existing data set for a new purpose can attest. Having the data sanitized can may your parsing job infinitely easier, while it can simultaneously destroy data which would have been extremely helpful to the new project.