Re:Don’t try to sanitize input – escape output
by NohatCoder on Thursday February 27, 2020 @04:17PM
(#22438002)
You are grossly misrepresenting my post, I have said nothing about whether the escaping should be applied to input or output, please edit or delete your comment.
Don't escape input. Escape based on output. Escaping doesn't mean anything until you've also specified an output format. It's not always HTML.