Is there a library or acceptable method for sanitizing the input to an html page?
In this case I have a form with just a name, phone number, and email address.
Code must be C#.
For example:
"<script src='bobs.js'>John Doe</script>" should become "John Doe"
"<script src='bobs.js'>John Doe</script>"
"John Doe"
2.1m questions
2.1m answers
60 comments
57.0k users