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"
755k questions
754k answers
5 comments
53.3k users