News for hackers. Stuff that matters.
Re:Don’t try to sanitize input – escape output by GuB-42 on Thursday February 27, 2020 @01:50PM (#22436419)
I think you are overengineering ;)

Plain text can contain anything and it shall be treated as such, it is that simple.

As for security, don't assume everything in your database came from a trusted source. Maybe there are remains from an old version of your code that didn't sanitize, maybe you improperly used admin tools that bypassed checks.

There are no comments on this comment yet.